diff --git a/BLEUnlock/AppDelegate.swift b/BLEUnlock/AppDelegate.swift index 3852fa1..a1aa4e4 100644 --- a/BLEUnlock/AppDelegate.swift +++ b/BLEUnlock/AppDelegate.swift @@ -35,7 +35,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuDelegate, NSMenuItemVa // Hide dock icon. // This is required because we can't have LSUIElement set to true in Info.plist, // otherwise CBCentralManager.scanForPeripherals won't work. - NSApp.setActivationPolicy(.prohibited) + NSApp.setActivationPolicy(.accessory) } func menuWillOpen(_ menu: NSMenu) {