ab2d3ed8cd
Windows tray "switch" that routes all Claude MSIX-app traffic through a SOCKS5/HTTP proxy or a VLESS+Reality tunnel (embedded Xray-core), with a fail-closed Windows Firewall lock. Runs de-elevated so it launches the user's normal Claude instance; elevates only for firewall changes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
10 lines
288 B
Batchfile
10 lines
288 B
Batchfile
@echo off
|
|
REM Double-click entry point: launch Claude with all traffic forced through the proxy.
|
|
set "HERE=%~dp0"
|
|
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%HERE%claude-proxy.ps1" -Action run
|
|
if errorlevel 1 (
|
|
echo.
|
|
echo Launch failed. See the message above.
|
|
pause
|
|
)
|