Some improvements to the settings.

This commit is contained in:
2025-05-31 14:53:10 -07:00
parent b3fb6dfc7f
commit 727c1ceb09
5 changed files with 48 additions and 34 deletions

View File

@@ -16,7 +16,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate {
window.delegate = self
// NOTE: Here we check wether the program was launched by the
// system. If it was not, then display the window.
// system (e.g. launch-at-login). If it was not, then display
// the window.
if let event = NSAppleEventManager.shared().currentAppleEvent,
!(event.eventID == kAEOpenApplication &&
event.paramDescriptor(forKeyword: keyAEPropData)?