From 86a6c0d90c32fbb1d9b49e396a708de1540f285b Mon Sep 17 00:00:00 2001 From: Halcy0nic <42481692+Halcy0nic@users.noreply.github.com> Date: Tue, 9 Jul 2024 15:51:11 -0500 Subject: [PATCH] Chore: Adding Windows Run Script --- run-windows.bat | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 run-windows.bat diff --git a/run-windows.bat b/run-windows.bat new file mode 100644 index 0000000..2be15dc --- /dev/null +++ b/run-windows.bat @@ -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 \ No newline at end of file