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.
This commit is contained in:
Zorg committed 2021-01-30 08:25:54 -08:00
1 parent 4767ef60ec
commit 7cffceb1f7
1 file changed
-6
-6
View File
@@ -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