Patched loophole that allowed Sparkle to present UI even though it was suppressed

Added some log statements for future debugging if necessary
This commit is contained in:
Marcus Ososbase committed 2017-06-22 17:27:05 -04:00
1 parent 094b242f97
commit 744d67c6ed
2 files changed
+6 -1

No files matched your search

+1
View File
@@ -52,6 +52,7 @@ static const NSTimeInterval SUAutomaticUpdatePromptImpatienceTimer = 60 * 60 * 2
[self automaticUpdateAlertFinishedWithChoice:SUInstallLaterChoice];
return;
}
// NSLog(@"[Sparkle showUpdateAlert]");
self.interruptible = NO;
[self invalidateShowUpdateAlertTimer];
+5 -1
View File
@@ -60,9 +60,13 @@ SU_EXPORT @interface SUUpdater : NSObject
*/
- (instancetype)initForBundle:(NSBundle *)bundle;
/*!
Suppress sparkle UI. This should prevent any Sparkle UI from popping up.
Updates should be handled by the host.
*/
-(BOOL)suppressSparkleUI;
/*!
Suppress sparkle UI. This should prevent any Sparkle UI from popping up.
Updates should be handled by the host.