mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
If Sparkle can't parse one item, it no longer fails the entire appcast.
This commit is contained in:
1 parent
dc249c1ec5
commit
bc7aff3f11
1 file changed
+2
-2
+2
-2
@@ -101,7 +101,7 @@
|
||||
if (date)
|
||||
[dict setObject:date forKey:name];
|
||||
}
|
||||
else
|
||||
else if (name != nil)
|
||||
{
|
||||
// add all other values as strings
|
||||
[dict setObject:[[node stringValue] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] forKey:name];
|
||||
@@ -118,7 +118,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
failed = YES;
|
||||
NSLog(@"Sparkle Updater: Failed to parse appcast item with appcast dictionary %@!", dict);
|
||||
}
|
||||
[dict removeAllObjects];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user