Skip to content

Add Windows auto-start option - #8

Merged
marcmy merged 3 commits into
masterfrom
agent/add-auto-start
Aug 8, 2026
Merged

marcmy merged 3 commits into
masterfrom
agent/add-auto-start

Conversation

@marcmy

@marcmy marcmy commented Aug 8, 2026 •

Copy link
Copy Markdown
Owner

What changed

  • add a persisted StartWithWindows setting
  • expose it under System Integration as Start CompactGUI with Windows
  • register CompactGUI in the current user's Windows Run key when enabled
  • launch auto-start sessions with the existing -tray argument so login stays unobtrusive
  • remove the startup entry when the option is disabled
  • refresh the registered executable path whenever CompactGUI starts, so reopening after an update or move repairs the entry

Why

CompactGUI's background watcher is most useful when the app is already running, but the app previously had no built-in way to launch automatically at Windows sign-in. The existing -tray activation path already provides the right behavior for a quiet startup.

User impact

Users can opt in to auto-start without administrator rights. Manual launches remain controlled independently by the existing Start CompactGUI in system tray setting; Windows auto-start always enters the tray.

Validation

  • Windows x64 restore and self-contained publish: passed
  • packaging and artifact upload: passed
  • supply-chain audit: passed
  • PR diff: 3 files, 58 additions, 0 deletions

@marcmy
marcmy marked this pull request as ready for review August 8, 2026 08:38
@marcmy
marcmy merged commit b78a511 into master Aug 8, 2026
8 checks passed
@marcmy
marcmy deleted the agent/add-auto-start branch August 8, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant