ostp/ostp-gui/src-tauri
ospab b18852ac07 fix(gui): relax the helper-task check, and make its decision observable
The installer's task is correct on the reporting machine — right path, right
principal, and running it by hand starts the helper with no prompt — yet the
app still fell back to an elevated launch on every connect. The exact-path
comparison is the only thing that can reject it, and it was never worth its
strictness: what the check exists to catch is a task left pointing at a binary
that is gone, since `schtasks /Run` reports success merely for accepting such a
request and the app would then wait on a helper that never starts. Testing that
the registered file exists and is the helper catches exactly that case, without
charging a prompt for any other difference.

The reason this took several rounds to narrow down is the real defect: every
failure on this path went to `eprintln!`, and the GUI is a windowed binary with
no console, so the one decision that determines whether the user gets a consent
prompt was completely unobservable on their machine. It now appends to
%LOCALAPPDATA%\OSTP\helper-launch.log — what was registered, whether it exists,
what schtasks /Run answered, and whether the fallback was taken.
2026-08-11 21:33:05 +03:00
..
capabilities fix: declare and grant custom Tauri v2 command permissions for GUI 2026-05-17 18:59:44 +03:00
icons feat(icons): apply logo_new.png to all apps and watermarks 2026-07-11 00:58:44 +03:00
permissions Remove stealth_port entirely and integrate fallback into UoT HTTP handler 2026-06-10 02:26:13 +03:00
src fix(gui): relax the helper-task check, and make its decision observable 2026-08-11 21:33:05 +03:00
windows fix(gui): config went to the working directory; installer wrote unusable XML 2026-08-11 17:43:04 +03:00
.gitignore feat(gui): add fully native tauri windows gui with premium mobile layout, real-time statistics polling, in-app config editor, and graceful exit cleanup 2026-05-15 22:01:20 +03:00
Cargo.lock chore: release v0.4.5-beta.1 on beta 2026-08-11 16:54:34 +03:00
Cargo.toml chore: release v0.4.5-beta.1 on beta 2026-08-11 16:54:34 +03:00
build.rs feat(gui): privileged TUN helper architecture - GUI runs unprivileged, UAC prompt shown only for TUN mode via ostp-tun-helper.exe IPC 2026-05-15 23:08:14 +03:00
tauri.conf.json chore: release v0.4.5-beta.1 on beta 2026-08-11 16:54:34 +03:00
tauri.installer.conf.json fix(gui): confine the installer's sidecar to the installer build 2026-08-11 16:54:11 +03:00