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 1/3] 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 From eb9016a91560fbec46563e6a2ce246423931359e Mon Sep 17 00:00:00 2001 From: Halcy0nic <42481692+Halcy0nic@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:55:21 -0600 Subject: [PATCH 2/3] Update install-linux-mac.sh --- install-linux-mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-linux-mac.sh b/install-linux-mac.sh index 6834550..6c42d97 100755 --- a/install-linux-mac.sh +++ b/install-linux-mac.sh @@ -41,4 +41,4 @@ EOT pip3 install -r requirements.txt # Inform the user that the installation is complete -echo "Installation complete. You can now run your application using: python3 your_script.py" +echo "Installation complete. You can now run your application using: python3 app.py" From 914dfcb7040ff6a36c2ae105ae4cbea728ddc881 Mon Sep 17 00:00:00 2001 From: Halcy0nic <42481692+Halcy0nic@users.noreply.github.com> Date: Tue, 9 Jul 2024 15:56:05 -0500 Subject: [PATCH 3/3] Update install-windows.bat --- install-windows.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-windows.bat b/install-windows.bat index 3c775f5..d653dcd 100644 --- a/install-windows.bat +++ b/install-windows.bat @@ -35,5 +35,5 @@ echo Requests==2.31.0 >> requirements.txt pip install -r requirements.txt :: Inform the user that the installation is complete -echo Installation complete. You can now run your application using: python your_script.py +echo Installation complete. You can now run your application using: python app.py pause