@ECHO off :: Check python installation python.exe --version > NUL CLS IF errorlevel 1 ( :: Verbose ECHO Installation of Python not found, installation... :: Install Python 3.11 from MS Store ECHO Y | winget install -he 9NRWMJP3717K :: Verbose ECHO Download and installation of dependencies... :: Install dependencies %LOCALAPPDATA%\Microsoft\WindowsApps\python.exe -m pip install -r .\requirements.txt :: Run app %LOCALAPPDATA%\Microsoft\WindowsApps\python.exe .\main.py ) ELSE ( :: Check dependencies python.exe -m pip install -r .\requirements.txt > NUL :: Run app python.exe .\main.py ) EXIT /b