2023-04-05 12:33:06 +02:00
|
|
|
@ECHO OFF
|
|
|
|
SETLOCAL ENABLEDELAYEDEXPANSION
|
2023-04-02 20:37:04 +02:00
|
|
|
|
2023-04-05 12:14:31 +02:00
|
|
|
:: Variables
|
|
|
|
SET "pipR=pip install -r .\requirements.txt"
|
|
|
|
SET "py=python.exe"
|
|
|
|
|
2023-04-02 20:37:04 +02:00
|
|
|
:: Check python installation
|
2023-04-05 12:39:32 +02:00
|
|
|
!py! --version >NUL
|
2023-04-02 22:37:54 +02:00
|
|
|
|
|
|
|
:: Clean potential error or python version
|
2023-04-02 21:43:48 +02:00
|
|
|
CLS
|
2023-04-02 22:37:54 +02:00
|
|
|
|
2023-04-05 12:25:32 +02:00
|
|
|
IF ERRORLEVEL 1 (
|
2023-04-02 20:37:04 +02:00
|
|
|
ECHO Installation of Python not found, installation...
|
|
|
|
|
2023-04-02 21:43:48 +02:00
|
|
|
:: Install Python 3.11 from MS Store
|
|
|
|
ECHO Y | winget install -he 9NRWMJP3717K
|
2023-04-02 20:37:04 +02:00
|
|
|
|
|
|
|
ECHO Download and installation of dependencies...
|
|
|
|
|
2023-04-04 10:46:48 +02:00
|
|
|
:: Location of Python
|
2023-04-05 12:33:06 +02:00
|
|
|
SET "py=%LOCALAPPDATA%\Microsoft\WindowsApps\!py!"
|
2023-04-02 21:43:48 +02:00
|
|
|
|
2023-04-04 10:46:48 +02:00
|
|
|
:: Update pip
|
2023-04-05 12:33:06 +02:00
|
|
|
!py! -m pip install --upgrade pip
|
2023-04-02 20:37:04 +02:00
|
|
|
|
2023-04-04 10:46:48 +02:00
|
|
|
:: Install dependencies
|
2023-04-05 12:33:06 +02:00
|
|
|
!py! -m !pipR!
|
2023-04-02 21:43:48 +02:00
|
|
|
) ELSE (
|
|
|
|
:: Check dependencies
|
2023-04-05 12:39:32 +02:00
|
|
|
!py! -m !pipR! >NUL
|
2023-04-02 21:43:48 +02:00
|
|
|
)
|
2023-04-02 20:37:04 +02:00
|
|
|
|
2023-04-04 10:46:48 +02:00
|
|
|
:: Run app
|
2023-04-05 12:39:32 +02:00
|
|
|
!py! .\main.py --list=aimbot,bhop,chams,fov,glow,noflash,radarhack
|
2023-04-04 10:46:48 +02:00
|
|
|
|
2023-04-02 20:37:04 +02:00
|
|
|
EXIT /b
|