From 0cdb0976ef3c0a13e8cb21fce01b79fdf265bb33 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 29 May 2021 07:50:30 -0700 Subject: [PATCH] Don't hide skipping button for major upgrades if update is critical --- Sparkle/SUUpdateAlert.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle/SUUpdateAlert.m b/Sparkle/SUUpdateAlert.m index 1855b88c..a3e95b49 100644 --- a/Sparkle/SUUpdateAlert.m +++ b/Sparkle/SUUpdateAlert.m @@ -386,7 +386,7 @@ static NSString *const SUUpdateAlertTouchBarIndentifier = @"" SPARKLE_BUNDLE_IDE self.laterButton.title = SULocalizedString(@"Install on Quit", @"Alternate title for 'Remind Me Later' button when downloaded updates can be resumed"); } - if ([self.updateItem isCriticalUpdate]) { + if ([self.updateItem isCriticalUpdate] && !self.state.majorUpgrade) { self.skipButton.hidden = YES; self.laterButton.hidden = YES; }