import AppKit @main @MainActor struct OpenLessApp { static func main() { let app = NSApplication.shared app.setActivationPolicy(.regular) let delegate = AppDelegate() app.delegate = delegate app.run() } }