Commit Graph
7 Commits
Author SHA1 Message Date
faumarayandClaude Opus 5.5 e9de863c4b windows: the app in Russian
Every page, the tray's menu and tooltip, and the notifications, as Windows'
display language is (GetUserDefaultUILanguage) or as chosen in Settings >
This app. English stays the key in the code: tr()/trf() (i18n.rs) look it
up in the page's own RU table. What the service says and proxy-ctl stay
English.

Changing the language rebuilds the window on the same page. That needed the
window's handle untyped: gpui-kit's Root holds the view, so the typed handle
was always None, and the tray's Open made a second window rather than
raising the first (fixed too). An AmneziaWG outbound no longer shows its
kind twice. tools/screenshots.sh takes SHOT_LANGUAGE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 23:28:52 +03:00
faumarayandClaude Opus 5.5 d33f05c62c windows: the dark theme's off and disabled controls readable; upgrades with tunnels up
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>
2026-10-27 22:39:10 +03:00
faumarayandClaude Opus 5.5 5bd47f7676 windows: updates from the app, and a dark theme
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>
2026-10-27 22:21:27 +03:00
faumarayandClaude Opus 5.5 36532bcf47 windows: no app logs beside the README's screenshots
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 18:22:58 +03:00
faumarayandClaude Opus 5.5 e71f6bf5aa windows: screenshots of every page, in the README
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>
2026-10-27 18:22:46 +03:00
faumarayandClaude Opus 5.5 5cf3a237e6 windows: AmneziaWG as a system-wide VPN
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>
2026-10-27 17:23:11 +03:00
faumarayandClaude Opus 5.5 95ec15e14a windows: autoProxy routes slow sites, and has a page in the app
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>
2026-10-27 16:47:45 +03:00