diff --git a/Stats.xcodeproj/project.pbxproj b/Stats.xcodeproj/project.pbxproj index c1c516d4..b79e0cc2 100644 --- a/Stats.xcodeproj/project.pbxproj +++ b/Stats.xcodeproj/project.pbxproj @@ -2151,7 +2151,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.13; - MARKETING_VERSION = 2.7.46; + MARKETING_VERSION = 2.8.0; OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = eu.exelban.Stats; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -2189,7 +2189,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.13; - MARKETING_VERSION = 2.7.46; + MARKETING_VERSION = 2.8.0; OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = eu.exelban.Stats; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/Stats/Supporting Files/Info.plist b/Stats/Supporting Files/Info.plist index b89bfc51..feec210e 100755 --- a/Stats/Supporting Files/Info.plist +++ b/Stats/Supporting Files/Info.plist @@ -17,7 +17,7 @@ CFBundleShortVersionString $(MARKETING_VERSION) CFBundleVersion - 439 + 441 Description Simple macOS system monitor in your menu bar LSApplicationCategoryType diff --git a/Stats/Views/Settings.swift b/Stats/Views/Settings.swift index 87d9ba1a..d49d51fd 100644 --- a/Stats/Views/Settings.swift +++ b/Stats/Views/Settings.swift @@ -72,8 +72,8 @@ class SettingsWindow: NSWindow, NSWindowDelegate, NSToolbarDelegate { self.contentViewController = sidebarViewController self.titlebarAppearsTransparent = true self.backgroundColor = .clear -// self.center() - self.setIsVisible(true) + self.center() + self.setIsVisible(false) let windowController = NSWindowController() windowController.window = self @@ -217,7 +217,6 @@ class SettingsWindow: NSWindow, NSWindowDelegate, NSToolbarDelegate { if !self.pauseState && modules.filter({ $0.enabled != false && $0.available != false && !$0.menuBar.widgets.filter({ $0.isActive }).isEmpty }).isEmpty { self.setIsVisible(true) } - self.sidebarView.openMenu("Network") } }