Enable explicit update check in Release builds

This commit is contained in:
Lukhnos Liu 2020-10-19 14:51:05 -07:00
parent 7e3ee1742d
commit 81748ae7fe
1 changed files with 0 additions and 2 deletions

View File

@ -240,10 +240,8 @@ public:
}
#endif //DEBUG
#if DEBUG
NSMenuItem *updateCheckItem = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Check for Updates…", @"") action:@selector(checkForUpdate:) keyEquivalent:@""] autorelease];
[menu addItem:updateCheckItem];
#endif
NSMenuItem *aboutMenuItem = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"About McBopomofo…", @"") action:@selector(showAbout:) keyEquivalent:@""] autorelease];
[menu addItem:aboutMenuItem];