Ariver
2026-05-31 b29f7228d5bacf7086b7155f24d92fffd65bda11
Apptag/ProcessSingleton.swift
@@ -31,7 +31,11 @@
    }
    private static func handOffAndExit() -> Never {
        let shouldShowOverlay = !CommandLine.arguments.dropFirst().contains("--hide")
        let arguments = CommandLine.arguments.dropFirst()
        let shouldShowOverlay = arguments.contains("--show-overlay")
        if !shouldShowOverlay {
            NSApplication.shared.setActivationPolicy(.accessory)
        }
        let ownerInstance = NSRunningApplication
            .runningApplications(withBundleIdentifier: AppIdentity.bundleIdentifier)
            .filter { $0.processIdentifier != getpid() && !$0.isTerminated }