This repository has been archived on 2023-09-02. You can view files and clone it, but cannot push or open issues or pull requests.
csh/run.bat
2023-04-02 20:37:04 +02:00

27 lines
560 B
Batchfile

@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