From 9561d522e39bbb387d2037c4cd06cc8a518a8f74 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sun, 24 Jan 2021 01:09:36 -0800 Subject: [PATCH] Keep skip button available if there is a minimum autoupdate version --- Sparkle/SUUpdateAlert.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Sparkle/SUUpdateAlert.m b/Sparkle/SUUpdateAlert.m index 1ed51560..e42fe7ea 100644 --- a/Sparkle/SUUpdateAlert.m +++ b/Sparkle/SUUpdateAlert.m @@ -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; }