Merge pull request #16 from mahan-bst/feature/uninstall-cert

feat: add unistall CA cert feature
This commit is contained in:
Abolfazl Ghaemi
2026-04-28 21:14:35 +03:30
committed by GitHub
5 changed files with 222 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.