1
0
zrcadlo https://github.com/arsenetar/dupeguru.git synchronizováno 2026-03-25 16:31:37 +00:00

Fixed auto update checks in Cocoa which were broken.

Tento commit je obsažen v:
Virgil Dupras
2011-01-23 12:47:21 +01:00
rodič f48e14af8a
revize 8175762e74

Zobrazit soubor

@@ -17,6 +17,13 @@ http://www.hardcoded.net/licenses/bsd_license
@implementation AppDelegateBase
- (void)awakeFromNib
{
NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
/* Because the pref pane is lazily loaded, we have to manually do the update check if the
preference is set.
*/
if ([ud boolForKey:@"SUEnableAutomaticChecks"]) {
[[SUUpdater sharedUpdater] checkForUpdatesInBackground];
}
_recentResults = [[HSRecentFiles alloc] initWithName:@"recentResults" menu:recentResultsMenu];
[_recentResults setDelegate:self];
_resultWindow = [self createResultWindow];