Skip to content

Fix issue #4588 --daemon flag being ignored on startup#4591

Merged
Gabriel Dufresne (GabrielDuf) merged 1 commit intomainfrom
Issue-4588
Apr 16, 2026
Merged

Fix issue #4588 --daemon flag being ignored on startup#4591
Gabriel Dufresne (GabrielDuf) merged 1 commit intomainfrom
Issue-4588

Conversation

@GabrielDuf
Copy link
Copy Markdown
Contributor

Problem

Since version 2026.1.5, launching UniGetUI with --daemon always opened the main window instead of silently starting in the system tray.

Fix

  • Guard both Activate() calls with !CoreData.WasDaemon.
  • In daemon mode, if a pending crash report exists, temporarily resume the DWM/XAML threads (which the constructor suspends via SuspendThread) so the CrashReportWindow can render, then re-suspend them after the user dismisses it.

@GabrielDuf Gabriel Dufresne (GabrielDuf) merged commit 8c3e05d into main Apr 16, 2026
1 check passed
@GabrielDuf Gabriel Dufresne (GabrielDuf) deleted the Issue-4588 branch April 16, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants