windows: install puts the app in the Start Menu and starts it at sign-in

- install copies proxy-suite.exe with the rest, closes running copies
  before replacing files, makes an all-users Start Menu shortcut, starts
  the app at every sign-in in the tray (HKLM Run, --hidden), and starts it
  now as the signed-in user (through Explorer, not elevated).
- uninstall closes it, removes the shortcut and the sign-in start, and
  turns off the user's system proxy if the app left it on the local
  proxy (another proxy of theirs is left alone).
- The app does not take its own left-over system proxy for the user's.
- Lints: the last of clippy's, in the app, the service and a test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Opus 5.5 committed 2026-10-27 02:12:02 +03:00
1 parent 757bebbb1d
commit 6ed7a3b1c6
7 files changed
+152 -9

No files matched your search

+1 -1
View File
@@ -174,7 +174,7 @@ mod secure {
let mut system_owner = true;
for attempt in 0..4 {
let sd = descriptor(system_owner)?;
let mut attrs = SECURITY_ATTRIBUTES {
let attrs = SECURITY_ATTRIBUTES {
nLength: std::mem::size_of::<SECURITY_ATTRIBUTES>() as u32,
lpSecurityDescriptor: sd.0,
bInheritHandle: 0,