diff --git a/App/BitBar/PluginManager.m b/App/BitBar/PluginManager.m index 9c1a5dd..c99ceab 100644 --- a/App/BitBar/PluginManager.m +++ b/App/BitBar/PluginManager.m @@ -88,8 +88,11 @@ - (void) addHelperItemsToMenu:(NSMenu*)menu asSubMenu:(BOOL)submenu { [targetMenu addItem:NSMenuItem.separatorItem]; NSString *versionString = [NSBundle.mainBundle.infoDictionary objectForKey:@"CFBundleShortVersionString"]; - NSMenuItem *versionMenuitem = [[NSMenuItem alloc] initWithTitle:[NSString stringWithFormat:@"🏷️ Version: %@", versionString] action:nil keyEquivalent:@""]; + NSString *BuildString = [NSBundle.mainBundle.infoDictionary objectForKey:@"CFBundleVersion"]; + NSMenuItem *buildMenuitem = [[NSMenuItem alloc] initWithTitle:[NSString stringWithFormat:@"πŸ— Build: %@", BuildString] action:nil keyEquivalent:@""]; + + /* if (!DEFS.userConfigDisabled) { versionMenuitem.alternate = YES; @@ -119,6 +122,8 @@ - (void) addHelperItemsToMenu:(NSMenu*)menu asSubMenu:(BOOL)submenu { NSMenuItem *fraksoftMI = [[NSMenuItem alloc] initWithTitle:[NSString stringWithFormat:@"πŸ†” Docker Info by FrakSoft"] action:nil keyEquivalent:@""]; [targetMenu addItem:fraksoftMI]; [targetMenu addItem:versionMenuitem]; + [targetMenu addItem:buildMenuitem]; + // // // add troubleshooting item @@ -128,7 +133,11 @@ - (void) addHelperItemsToMenu:(NSMenu*)menu asSubMenu:(BOOL)submenu { // ADD_MENU(@"Report an Issue…",openHomepage,@"i",self); // // quit menu - ADD_MENU(@"❌ Quit",quit, @"q",self); + //ADD_MENU(@"❌ Quit",quit, @"q",self); + NSMenuItem* quitMenuItem = [[NSMenuItem alloc] initWithTitle:@"❌ Quit" action:@selector(quit) keyEquivalent:@"q"]; + [quitMenuItem setTarget:self]; + [menu addItem:quitMenuItem]; + } - (void) quit { diff --git a/App/Dockerinfo-Info.plist b/App/Dockerinfo-Info.plist index d803fae..3ab310a 100644 --- a/App/Dockerinfo-Info.plist +++ b/App/Dockerinfo-Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - v1.0.0_beta-3-g2eb0a48 + v1.0.0_beta-4-g4a880fd CFBundleSignature ???? CFBundleURLTypes @@ -32,7 +32,7 @@ CFBundleVersion - Sep-02-2020 16:00:57 + Sep-02-2020 17:28:38 LSApplicationCategoryType public.app-category.productivity LSMinimumSystemVersion