From 7cffceb1f7ffeb11074bb466f4416afabbf42efd Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 30 Jan 2021 08:25:54 -0800 Subject: [PATCH] Remove hiding skip button on automatic updates If user opts-out of automatic downloads (eg via app pref), they should be able to skip. This logic for detecting minimumAutoupdateVersion present isn't sufficient and consistent enough, chooses to have skip visible in cases updates aren't prevented. --- Sparkle/SUUpdateAlert.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Sparkle/SUUpdateAlert.m b/Sparkle/SUUpdateAlert.m index 9a3aaf05..602b611c 100644 --- a/Sparkle/SUUpdateAlert.m +++ b/Sparkle/SUUpdateAlert.m @@ -411,12 +411,6 @@ static NSString *const SUUpdateAlertTouchBarIndentifier = @"" SPARKLE_BUNDLE_IDE } } - // A developer wishing for automatic updates shouldn't want users to skip updates - // Except maybe when there's a minimum auto update version for auto-downloading specified - if (automaticDownloadsEnabledByDeveloper && self.updateItem.minimumAutoupdateVersion.length == 0) { - self.skipButton.hidden = YES; - } - BOOL startedInstalling = (self.resumableCompletionBlock != nil); if (startedInstalling) { // An already downloaded & resumable update can't be skipped