diff --git a/hands/Sources/byre-hands/Server.swift b/hands/Sources/byre-hands/Server.swift index d93de66..8e15061 100644 --- a/hands/Sources/byre-hands/Server.swift +++ b/hands/Sources/byre-hands/Server.swift @@ -35,6 +35,7 @@ let stdoutLock = NSLock() struct Server { static func main() { _ = NSApplication.shared + NSApp.setActivationPolicy(.prohibited) AXUIElementSetMessagingTimeout(AXUIElementCreateSystemWide(), 3) Thread.detachNewThread { let inFlight = DispatchGroup()