You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add LSUIElement to prevent dock icon flash on launch
Set INFOPLIST_KEY_LSUIElement = YES in both Debug and Release configurations. This prevents the dock icon from briefly appearing when the app launches, while still allowing runtime control via setActivationPolicy() to show the dock icon when needed (e.g., for Settings window and Sparkle update dialogs).
The programmatic setActivationPolicy() approach alone cannot prevent this flash—it requires LSUIElement to be set in the Info.plist for a clean launch without the icon appearing first.
0 commit comments