feat: add unistall CA cert feature

This commit is contained in:
mahan-bst
2026-04-23 11:03:27 +03:30
parent 57738ec5c8
commit e0961ed2db
5 changed files with 224 additions and 2 deletions
+10 -1
View File
@@ -4,7 +4,8 @@ cd /d "%~dp0"
REM -------- MasterHttpRelayVPN one-click launcher (Windows) --------
REM Creates a local virtualenv, installs deps, runs the setup wizard
REM if needed, then starts the proxy.
REM if needed, then starts the proxy. Also checks and installs CA cert
REM if not already trusted.
set "VENV_DIR=.venv"
set "PY="
@@ -63,6 +64,14 @@ if not exist "config.json" (
)
)
REM -------- Check for uninstall flag --------
if "%~1"=="--uninstall-cert" (
echo [*] Uninstalling CA certificate ...
"%VPY%" main.py --uninstall-cert
exit /b %errorlevel%
)
echo.
echo [*] Starting MasterHttpRelayVPN ...
echo.