mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Fixed auto update checks in Cocoa which were broken.
This commit is contained in:
parent
f48e14af8a
commit
8175762e74
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user