Add script (#1)

This commit is contained in:
Mylloon 2023-04-02 20:37:04 +02:00
parent 71af72b6aa
commit beaa76b1e1
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

27
run.bat Normal file
View file

@ -0,0 +1,27 @@
@ECHO off
:: Check python installation
python --version >NUL
IF errorlevel 1 (
:: Verbose
ECHO
ECHO Installation of Python not found, installation...
ECHO Make sure you give the admin rights to the Python installer
:: Auto accept ToT
ECHO Y | winget list >NUL
:: Install Python
winget install -he Python.Python.3.11
:: Verbose
ECHO Download and installation of dependencies...
)
:: Check dependencies
python -m pip install -r .\requirements.txt >NUL
:: Run app
python .\main.py
EXIT /b