diff --git a/SpaceId/Application/StatusItem.swift b/SpaceId/Application/StatusItem.swift index f288387..ad8f902 100644 --- a/SpaceId/Application/StatusItem.swift +++ b/SpaceId/Application/StatusItem.swift @@ -26,6 +26,9 @@ class StatusItem: NSObject, NSMenuDelegate { let opt = NSMenuItem(title: "Options", action: nil, keyEquivalent: "") let quit = NSMenuItem(title: "Quit", action: #selector(quit(_:)), keyEquivalent: "") quit.target = self + let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") ?? "0" + menu.addItem(NSMenuItem(title: "v\(version)", action: nil, keyEquivalent: "")) + menu.addItem(NSMenuItem.separator()) menu.addItem(pref) menu.setSubmenu(preferenceMenu(), for: pref) menu.addItem(opt) diff --git a/SpaceId/Info.plist b/SpaceId/Info.plist index 457c7a3..2dffe55 100644 --- a/SpaceId/Info.plist +++ b/SpaceId/Info.plist @@ -17,9 +17,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.2 + 1.3 CFBundleVersion - 3 + 4 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSHumanReadableCopyright