Fix issue #4588 --daemon flag being ignored on startup by GabrielDuf · Pull Request #4591 · Devolutions/UniGetUI (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Conversation
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 theCrashReportWindowcan render, then re-suspend them after the user dismisses it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})