Keep skip button available if there is a minimum autoupdate version

This commit is contained in:
Zorg committed 2021-01-24 01:09:36 -08:00
1 parent f60b60b08f
commit 9561d522e3
1 file changed
+3 -2
+3 -2
View File
@@ -326,8 +326,9 @@ static NSString *const SUUpdateAlertTouchBarIndentifier = @"" SPARKLE_BUNDLE_IDE
}
}
if (automaticDownloadsEnabledByDeveloper) {
// A developer wishing for automatic updates shouldn't want users to skip updates
// 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;
}