Add comments on legacy critical update path

This commit is contained in:
Zorg committed 2021-05-31 00:17:08 -07:00
1 parent 1cc11d76a2
commit 60bbb373e2
1 file changed
+2
+2
View File
@@ -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 @{};