-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
50 lines (43 loc) · 969 Bytes
/
Copy pathstart.bat
File metadata and controls
50 lines (43 loc) · 969 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
41
42
43
44
45
46
47
48
49
50
@echo off
setlocal
chcp 65001 >nul
title NetPrivacy Verification Tool - GUI Mode [by @TheFirSStYfOreVer]
REM Go to this script directory
pushd "%~dp0"
echo =========================================
echo NetPrivacy Verification Tool - GUI Mode
echo made by @TheFirSStYfOreVer
echo =========================================
echo.
python --version >nul 2>nul
if errorlevel 1 (
echo.
echo ERROR: Python not found!
echo Please install Python and add it to PATH.
pause
popd
exit /b 1
)
echo Installing dependencies (if needed)...
python -m pip install -r requirements.txt
if errorlevel 1 (
echo.
echo ERROR: Dependency installation failed.
echo If you see SSL/permission errors, try running CMD as Administrator.
pause
popd
exit /b 1
)
echo.
echo Starting GUI...
echo.
python app\main.py
if errorlevel 1 (
echo.
echo GUI exited with error. Check errors above.
pause
popd
exit /b 1
)
popd
exit /b 0