Dark theme: a switch that is off has a lighter track (#737373, was #404040
under a near-black thumb), radio buttons, checkboxes and text fields a
lighter edge (#525252); a disabled button's text is the muted colour itself
rather than half of it (widgets::Inactive). The title bar is set again a
moment after Windows' appearance changes, as GPUI resets it to Windows' own.
Upgrades: a running system-wide AmneziaWG tunnel is stopped while the
release's newer amneziawg replaces bin\amneziawg, and started again;
WinDivert's driver is let go of before zapret or zapret2 is replaced. The
fetched setup program goes once the update it brought is running.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The service looks at the project's releases (windows-v* tags; pre-releases
for a pre-release), fetches the newer setup program, checks its SHA-256
against the one published beside it, and runs it silently, detached, out of
any job: the setup stops the service, replaces it, and starts it again.
Run by the service (session 0), the setup's install starts the app in each
signed-in user's session with their token rather than through Explorer. A
failed copy during an upgrade starts the old service and app again.
Request::UpdateCheck (anyone), UpdateInstall (services scope);
proxy-ctl update [check|install]; the app's Overview card.
The app's own preferences (%APPDATA%\ProxySuite\app.json): the theme
(light, dark, or as Windows, followed as it changes; the title bar too) and
whether to look for updates at start and daily. Settings > This app, and a
sun/moon toggle in the sidebar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tools/screenshots.sh's demo shows zapret2 with z2k, autoProxy,
AmneziaWG and whitelist-bypass; nothing in it warns.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each profile without asOutbound is a tunnel service of its own,
AmneziaWGTunnel$<interface>, as amneziawg-windows's client installs one:
amneziawg-go on Wintun, its routes and DNS, and for one peer that takes
everything its firewall blocking what would leave outside the tunnel.
It runs awg-tunnel.exe, amneziawg-windows built from its pinned commit
with a main of ours (its Run(), its log in a file) instead of its
tunnel.dll, beside Wintun's signed DLL (tools/build-amneziawg.sh).
The service writes each profile's .conf below its state root, registers
the tunnel (unrestricted service SID, which its firewall exempts it by),
starts the autostart ones with itself, and removes the tunnels of
profiles gone, and all of them on uninstall. proxy-ctl awg
list|on|off|log, and the app's AmneziaWG page: profiles (a system-wide
one switched on and off, its log), one added from a vpn:// link or a
.conf, or removed.
tools/lib.sh: clone_commit, and fetch_pinned, which fetches in pieces a
download that stalls (some networks cut TLS after about 16 KB, as
wintun.net's here).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
As upstream's sampler and slow judge: every minute, eleven Clash API
snapshots a second apart; a site whose best direct transfer never beat
slowBelowKiBps three times is owed an exit, and gets the first, in probe
order, that answers it as well as direct does (probe --via); routed
slow, it moves on after crawling twice there, and with no exit left it
stays direct for a TTL. Here the Clash API is always on, so it works
whatever the selection.
The app's autoProxy page: on or off, a site probed or learned, the sites
routed (forget one or all), the exits (bad ones marked), the exclusions
and the slowness threshold. tools/screenshots.sh takes every page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>