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:
mhdi
2026-04-27 12:12:16 +03:30
committed by GitHub
parent cb788694de
commit 1cb345809d
+2 -2
View File
@@ -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"
) )
) )