mirror of
https://github.com/skinnyrad/Lora-Scanner.git
synced 2026-03-28 17:43:00 +01:00
Chore: Adding Windows Run Script
This commit is contained in:
21
run-windows.bat
Normal file
21
run-windows.bat
Normal 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
|
||||
Reference in New Issue
Block a user