-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
40 lines (30 loc) · 782 Bytes
/
build.bat
File metadata and controls
40 lines (30 loc) · 782 Bytes
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
@echo off
setlocal enabledelayedexpansion
cd /d "%~dp0"
echo Checking system dependencies...
python --version >nul 2>&1
if errorlevel 1 (
echo Error: Python is not installed
pause
exit /b 1
)
if not exist "venv" (
echo Creating virtual environment...
python -m venv venv
)
echo Activating virtual environment...
call venv\Scripts\activate.bat
if not defined VIRTUAL_ENV (
echo Error: Failed to activate virtual environment
pause
exit /b 1
)
echo Installing dependencies...
venv\Scripts\python.exe -m pip install -q --upgrade pip
venv\Scripts\python.exe -m pip install -q -r requirements.txt
echo Launching ASLGIT...
venv\Scripts\python.exe aslgit.py %*
echo Opening https://anonseclab.org...
start https://anonseclab.org
endlocal
exit /b 0