Ready
This commit is contained in:
commit
0f45a51f1d
20 files changed
+3532
No files matched your search
@@ -0,0 +1,24 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
py -3 -c "import sys; sys.exit(sys.version_info < (3, 11))" >nul 2>&1
|
||||
if not errorlevel 1 goto use_launcher
|
||||
|
||||
python -c "import sys; sys.exit(sys.version_info < (3, 11))" >nul 2>&1
|
||||
if not errorlevel 1 goto use_python
|
||||
|
||||
echo Python 3.11 or newer is required. Install it and run start.cmd again.
|
||||
pause
|
||||
exit /b 1
|
||||
|
||||
:use_launcher
|
||||
py -3 "%~dp0start.py" %*
|
||||
goto finished
|
||||
|
||||
:use_python
|
||||
python "%~dp0start.py" %*
|
||||
|
||||
:finished
|
||||
set "result=%errorlevel%"
|
||||
if not "%result%"=="0" if not "%result%"=="130" pause
|
||||
exit /b %result%
|
||||
Reference in new issue
Block a user