Files

38 lines
710 B
Batchfile

@echo off
setlocal
REM Gauntlet Overlay launcher
REM This starts the local server used by OBS, the editor, and batch controls.
cd /d "%~dp0"
echo Starting Gauntlet Overlay server...
echo.
echo Editor: http://localhost:8770/editor.html
echo Overlay: http://localhost:8770/overlay.html
echo.
echo Keep this window open while streaming.
echo Press Ctrl+C to stop the server.
echo.
where py >nul 2>nul
if %errorlevel%==0 (
py server.py
goto :end
)
where python >nul 2>nul
if %errorlevel%==0 (
python server.py
goto :end
)
echo ERROR: Python was not found.
echo Install Python from https://www.python.org/downloads/
echo During install, check "Add Python to PATH".
echo.
pause
:end
endlocal