diff --git a/apps/macos/VODManager/Sources/VODManager/VODManagerApp.swift b/apps/macos/VODManager/Sources/VODManager/VODManagerApp.swift index 3bcc808..1f432ba 100644 --- a/apps/macos/VODManager/Sources/VODManager/VODManagerApp.swift +++ b/apps/macos/VODManager/Sources/VODManager/VODManagerApp.swift @@ -20,9 +20,12 @@ struct VODManagerApp: App { class AppDelegate: NSObject, NSApplicationDelegate { func applicationDidFinishLaunching(_ notification: Notification) { + NSApp.setActivationPolicy(.regular) NSApp.activate(ignoringOtherApps: true) - if let window = NSApp.windows.first { - window.makeKeyAndOrderFront(nil) + DispatchQueue.main.async { + for window in NSApp.windows { + window.makeKeyAndOrderFront(nil) + } } }