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" 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 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