diff --git a/Brisk/AppDelegate.swift b/Brisk/AppDelegate.swift index 53281ec..83b4c3e 100644 --- a/Brisk/AppDelegate.swift +++ b/Brisk/AppDelegate.swift @@ -18,5 +18,14 @@ class AppDelegate: NSObject, NSApplicationDelegate { func applicationWillTerminate(_ aNotification: Notification) { // Insert code here to tear down your application } + + func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool { + if !flag { + for window in sender.windows { + window.makeKeyAndOrderFront(self) + } + } + return true + } } diff --git a/Brisk/Info.plist b/Brisk/Info.plist index 004236d..90528fa 100644 --- a/Brisk/Info.plist +++ b/Brisk/Info.plist @@ -17,9 +17,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0 + 1.0.1 CFBundleVersion - 1 + 4 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSHumanReadableCopyright