From e8507d3e8fb21ab50db48e312106c6b22357fc98 Mon Sep 17 00:00:00 2001 From: drmext <71258889+drmext@users.noreply.github.com> Date: Fri, 31 Mar 2023 09:09:03 +0000 Subject: [PATCH] Disable portable venv hack breaks when special characters are in path --- start.bat | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/start.bat b/start.bat index df6090e..7bbbd5c 100644 --- a/start.bat +++ b/start.bat @@ -3,18 +3,19 @@ cd /d %~dp0 if exist .venv\Lib\site-packages\ujson*.pyd ( - ( - goto :make_venv_portable - :start_server - .venv\Scripts\activate.bat && python pyeamu.py - ) + ( + REM goto :make_venv_portable + :start_server + .venv\Scripts\activate.bat && python pyeamu.py + ) ) else ( - ( - python -m venv .venv - .venv\Scripts\activate.bat - pip install -U -r requirements.txt - python pyeamu.py - ) + ( + :create_venv + python -m venv .venv + .venv\Scripts\activate.bat + pip install -U -r requirements.txt + python pyeamu.py + ) ) echo: