Terminate Xcodes app after last window closed

This commit is contained in:
Kyle 2024-10-12 00:09:20 +08:00
parent 74237f8fc1
commit 27d5b03321
No known key found for this signature in database
GPG key ID: 7056354A082F5CC2

View file

@ -166,6 +166,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
}
func applicationDidFinishLaunching(_: Notification) {}
func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
true
}
}
func localizeString(_ key: String, comment: String = "") -> String {