mirror of https://github.com/ospab/ostp.git
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. |
||
|---|---|---|
| .. | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| README.md | ||
| build_dist.js | ||
| package-lock.json | ||
| package.json | ||
| stage-sidecar.cjs | ||
README.md
Tauri + Vanilla
This template should help get you started developing with Tauri in vanilla HTML, CSS and Javascript.