mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
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:
1 parent
4767ef60ec
commit
7cffceb1f7
1 file changed
-6
Vendored
-6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user