fix(windows): start a responsive tray immediately after installation

This commit is contained in:
cabbage committed 2026-10-27 07:43:37 +00:00
1 parent 14cb3570c1
commit d59b2d5463
13 files changed
+850 -106

No files matched your search

+11 -2
View File
@@ -83,7 +83,11 @@ The same signed `rvbox.exe` has explicit `service`, `tray`, `install-service`,
`configure-service`, per-command launcher, and signal-
helper modes. Internal modes require SCM state or a service-created launch
proof. Task Scheduler is not used. The installer registers an unelevated per-
user tray launch through the machine-wide `Run` key. One tray may run in each
user tray launch through the machine-wide `Run` key. The original interactive
installer waits for its UAC child to finish successfully, starts the installed
tray in its own desktop session, and verifies that Shell accepted the icon
before showing success. No sign-out or reboot is required. The service does
not inject a tray into another session. One tray may run in each
logged-in session; its exit, failure, disablement, or Explorer restart does not
stop the service or commands.
@@ -98,7 +102,12 @@ persistent executable or process.
The tray is a thin frontend over a local-only named pipe. It never opens the
SQLite store/spool or owns a server connection. The pipe rejects remote clients,
has explicit ACLs, and the service impersonates each caller for authorization.
has explicit ACLs, and the service verifies each caller's PID, session and
primary-token groups for authorization. Deny-only administrator membership in
a filtered token does not authorize mutations. Overlapped I/O has bounded
deadlines/cancellation; neither peer uses an unbounded pipe flush. The icon is
created before any IPC, with status/actions exchanged asynchronously so a
stopped or stalled service cannot hide the icon or freeze its message loop.
Read-only health/status is available to an interactive local user. Service
start/stop/restart, Automatic/Manual startup changes, config editing, incident
resolution, and other machine-wide mutations require a locally elevated