You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
663 B
28 lines
663 B
@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
|
|
) |