Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Frak AlNuaimy committed Sep 2, 2020
1 parent 4a880fd commit 58081c7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions App/BitBar/PluginManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand All @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions App/Dockerinfo-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>v1.0.0_beta-3-g2eb0a48</string>
<string>v1.0.0_beta-4-g4a880fd</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand All @@ -32,7 +32,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>Sep-02-2020 16:00:57</string>
<string>Sep-02-2020 17:28:38</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSMinimumSystemVersion</key>
Expand Down

0 comments on commit 58081c7

Please sign in to comment.