-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathinstall.bat
35 lines (30 loc) · 877 Bytes
/
install.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
cd /d %~dp0
title Checking Python installation...
python --version > nul 2>&1
if %errorlevel% neq 0 (
echo Python is not installed! (Go to https://www.python.org/downloads and install the python 3.11.0^)
echo Very important click Add python exe to PATH.
pause
)
title Checking Python libraries...
echo Checking 'cryptography' (1/3)
python -c "import cryptography" > nul 2>&1
if %errorlevel% neq 0 (
echo Installing cryptography...
python -m pip install cryptography > nul
)
echo Checking 'aiohttp' (2/3)
python -c "import aiohttp" > nul 2>&1
if %errorlevel% neq 0 (
echo Installing aiohttp...
python -m pip install aiohttp > nul
)
echo Checking 'pyinstaller' (3/3)
python -c "import PyInstaller" > nul 2>&1
if %errorlevel% neq 0 (
echo Installing pyinstaller...
python -m pip install pyinstaller > nul
)
cls
python builder.py