From 60bbb373e2b01fffa340707defcf11e9c3a43dd1 Mon Sep 17 00:00:00 2001 From: Zorg Date: Mon, 31 May 2021 00:17:08 -0700 Subject: [PATCH] Add comments on legacy critical update path --- Sparkle/SUAppcastItem.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sparkle/SUAppcastItem.m b/Sparkle/SUAppcastItem.m index 0d5c44da..e82ea99c 100644 --- a/Sparkle/SUAppcastItem.m +++ b/Sparkle/SUAppcastItem.m @@ -198,6 +198,8 @@ static NSString *SUAppcastItemInstallationTypeKey = @"SUAppcastItemInstallationT return criticalUpdateDictionary; } + // Check legacy / deprecated path where critical update used to be a tag + // This path does not support specifying which version became critical NSArray *tags = [self.propertiesDictionary objectForKey:SUAppcastElementTags]; if ([tags isKindOfClass:[NSArray class]] && [tags containsObject:SUAppcastElementCriticalUpdate]) { return @{};