-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrun.bat
More file actions
44 lines (38 loc) · 922 Bytes
/
run.bat
File metadata and controls
44 lines (38 loc) · 922 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
@echo off
setlocal
cd /d "%~dp0"
echo.
echo ============================================================
echo Telegram Proxy Checker - Purple UI Launcher
echo ============================================================
echo.
python --version >nul 2>&1
if errorlevel 1 (
echo ERROR: Python is not installed or not in PATH.
echo Download: https://www.python.org/downloads/
pause
exit /b 1
)
echo Python detected.
echo.
echo Installing dependencies...
python -m pip install -q -r requirements.txt
if errorlevel 1 (
echo ERROR: Failed to install dependencies.
pause
exit /b 1
)
echo Dependencies installed.
echo.
echo Starting Telegram Proxy Checker GUI...
echo.
python proxy_gui.py
if errorlevel 1 (
echo.
echo GUI failed to start. Running CLI fallback...
python telegram_proxy_checker.py -i proxies.txt -o working.txt -t 5 -c 300 --strict
)
echo.
echo Finished.
pause
endlocal