Disable portable venv hack

breaks when special characters are in path
This commit is contained in:
drmext 2023-03-31 09:09:03 +00:00
parent c37b2e47be
commit e8507d3e8f
No known key found for this signature in database
GPG Key ID: F1ED48FFE79A6961

View File

@ -3,18 +3,19 @@
cd /d %~dp0 cd /d %~dp0
if exist .venv\Lib\site-packages\ujson*.pyd ( if exist .venv\Lib\site-packages\ujson*.pyd (
( (
goto :make_venv_portable REM goto :make_venv_portable
:start_server :start_server
.venv\Scripts\activate.bat && python pyeamu.py .venv\Scripts\activate.bat && python pyeamu.py
) )
) else ( ) else (
( (
python -m venv .venv :create_venv
.venv\Scripts\activate.bat python -m venv .venv
pip install -U -r requirements.txt .venv\Scripts\activate.bat
python pyeamu.py pip install -U -r requirements.txt
) python pyeamu.py
)
) )
echo: echo: