@echo off setlocal cd /d "%~dp0" if exist ".venv\Scripts\python.exe" ( set "PY=.venv\Scripts\python.exe" ) else ( set "PY=python" ) echo Starting BARG-CC GUI with %PY% "%PY%" -u app.py if errorlevel 1 ( echo. echo The GUI could not start. Install packages: python -m pip install -r requirements.txt pause ) endlocal