mirror of
https://github.com/masterking32/MasterHttpRelayVPN.git
synced 2026-05-17 21:24:37 +03:00
fix bug in start.bat
if you install 3.11 or higher version of python this batch file may have error i use this code for fix this bug
This commit is contained in:
@@ -10,11 +10,11 @@ set "VENV_DIR=.venv"
|
|||||||
set "PY="
|
set "PY="
|
||||||
|
|
||||||
where py >nul 2>&1
|
where py >nul 2>&1
|
||||||
if %errorlevel%==0 (
|
if !errorlevel!==0 (
|
||||||
set "PY=py -3"
|
set "PY=py -3"
|
||||||
) else (
|
) else (
|
||||||
where python >nul 2>&1
|
where python >nul 2>&1
|
||||||
if %errorlevel%==0 (
|
if !errorlevel!==0 (
|
||||||
set "PY=python"
|
set "PY=python"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user