Skip to content

Commit 95cc220

Browse files
committed
Make the menu bar app not activatable
1 parent fb0c050 commit 95cc220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ExtensionService/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate {
2727
setupQuitOnUserTerminated()
2828
xpcListener = setupXPCListener()
2929
os_log(.info, "XPC Service started.")
30-
NSApp.setActivationPolicy(.accessory)
30+
NSApp.setActivationPolicy(.prohibited)
3131
buildStatusBarMenu()
3232
AXIsProcessTrustedWithOptions([
3333
kAXTrustedCheckOptionPrompt.takeRetainedValue() as NSString: true

0 commit comments

Comments
 (0)