Chore: Adding Windows Run Script

This commit is contained in:
Halcy0nic
2024-07-09 15:51:11 -05:00
committed by GitHub
parent 3ad9aea25b
commit 86a6c0d90c

21
run-windows.bat Normal file
View File

@@ -0,0 +1,21 @@
@echo off
:: Check if Python3 is installed
python --version >nul 2>&1
IF %ERRORLEVEL% EQU 0 (
echo Running application with Python...
python app.py
GOTO END
)
python3 --version >nul 2>&1
IF %ERRORLEVEL% EQU 0 (
echo Running application with Python3...
python3 app.py
GOTO END
)
echo Python is not installed. Please install Python3 to run the application.
:END
pause