From b0e543de4e5afaa55fb02d4c4d18d0c8021809c3 Mon Sep 17 00:00:00 2001 From: Antonin Hildebrand Date: Tue, 4 Mar 2014 20:37:19 -0500 Subject: [PATCH] prevent automatic downloads - the feature is broken anyway --- SUUpdater.m | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/SUUpdater.m b/SUUpdater.m index 225de940..f5124a08 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -407,12 +407,13 @@ static NSString * const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefault - (BOOL)automaticallyDownloadsUpdates { - // If the SUAllowsAutomaticUpdatesKey exists and is set to NO, return NO. - if ([host objectForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey] && [host boolForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey] == NO) - return NO; - - // Otherwise, automatically downloading updates is allowed. Does the user want it? - return [host boolForUserDefaultsKey:SUAutomaticallyUpdateKey]; + return NO; // HACK: darwin +// // If the SUAllowsAutomaticUpdatesKey exists and is set to NO, return NO. +// if ([host objectForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey] && [host boolForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey] == NO) +// return NO; +// +// // Otherwise, automatically downloading updates is allowed. Does the user want it? +// return [host boolForUserDefaultsKey:SUAutomaticallyUpdateKey]; } - (void)setFeedURL:(NSURL *)feedURL