Files
alpha_tools/backup_code/wqb-server/run_app.bat
T
2026-02-05 10:18:53 +08:00

28 lines
663 B
Batchfile
Executable File

@echo off
echo ===================================
echo BRAIN Expression Template Decoder
echo ===================================
echo.
REM Check if Python is installed
python --version >nul 2>&1
if errorlevel 1 (
echo Error: Python is not installed or not in PATH!
echo Please install Python from https://www.python.org/
pause
exit /b 1
)
echo Starting the application...
echo The app will automatically install any missing dependencies.
echo.
REM Run the Flask application
python app.py
REM Keep window open if there was an error
if errorlevel 1 (
echo.
echo Application exited with an error.
pause
)