Files
JiboAutoMod/jibo_gui.bat

22 lines
360 B
Batchfile
Raw Normal View History

@echo off
setlocal
REM Main GUI launcher (Main Panel)
set "SCRIPT_DIR=%~dp0"
set "VENV_PY=%SCRIPT_DIR%.venv\Scripts\python.exe"
if exist "%VENV_PY%" (
"%VENV_PY%" -m gui.main_panel %*
exit /b %ERRORLEVEL%
)
where py >nul 2>nul
if %ERRORLEVEL%==0 (
py -3 -m gui.main_panel %*
exit /b %ERRORLEVEL%
)
python -m gui.main_panel %*
exit /b %ERRORLEVEL%