mirror of https://github.com/r4sas/proxychecker
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
555 B
32 lines
555 B
@echo off |
|
title Checking tunnels... |
|
SET PY_PYTHON=3 |
|
|
|
for %%X in (python3.exe) do (set FOUND=%%~$PATH:X) |
|
if defined FOUND ( |
|
set xPy=%FOUND% |
|
goto RUN_CHECK |
|
) |
|
|
|
for %%X in (python.exe) do (set FOUND=%%~$PATH:X) |
|
if defined FOUND ( |
|
%FOUND% -c "import sys; print(sys.version_info[0])" | find "3" >nul && set xyes=1 || set xyes=0 |
|
if "%xyes%" == 1 ( |
|
set xPy=%FOUND% |
|
goto RUN_CHECK |
|
) else ( |
|
echo Error: Python3 not found! |
|
pause |
|
exit |
|
) |
|
) else ( |
|
echo Error: Python3 not found! |
|
pause |
|
exit |
|
) |
|
|
|
:RUN_CHECK |
|
%xPy% bin\checker.py |
|
|
|
echo Done... |
|
pause > nul |