Files

13 lines
366 B
Batchfile

@echo off
setlocal
cd /d "%~dp0"
if not exist ".venv\Scripts\python.exe" (
echo Run SETUP.cmd and complete docs\INSTALLATION.md first.
call tools\show_launcher_error.cmd
exit /b 1
)
".venv\Scripts\python.exe" -u tools\launch.py --desktop %*
set "FTLVR_EXIT=%errorlevel%"
if not "%FTLVR_EXIT%"=="0" call tools\show_launcher_error.cmd
exit /b %FTLVR_EXIT%