ostp/ostp-gui
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
..
src fix(gui): honest TUN error on Linux, and a window that can be resized 2026-08-04 00:56:28 +03:00
src-tauri fix(gui): relax the helper-task check, and make its decision observable 2026-08-11 21:33:05 +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
README.md 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
build_dist.js §A.3: remove dead tun2socks code (native OSTP TUN is the only path) 2026-06-27 16:29:55 +03:00
package-lock.json 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
package.json fix(ci): staging script was CommonJS in an ES-module package 2026-08-11 17:07:55 +03:00
stage-sidecar.cjs fix(ci): staging script was CommonJS in an ES-module package 2026-08-11 17:07:55 +03:00

README.md

Tauri + Vanilla

This template should help get you started developing with Tauri in vanilla HTML, CSS and Javascript.