mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Clear downloaded update if delta extraction fails
This commit is contained in:
1 parent
a1d43997d9
commit
48938d0e78
1 file changed
+2
Vendored
+2
@@ -275,6 +275,8 @@
|
||||
SUAppcastItem *nonDeltaUpdateItem = self.basicDriver.nonDeltaUpdateItem;
|
||||
assert(nonDeltaUpdateItem != nil);
|
||||
|
||||
[self clearDownloadedUpdate];
|
||||
|
||||
// Fall back to the non-delta update. Note that we don't want to trigger another update was found event.
|
||||
self.updateItem = nonDeltaUpdateItem;
|
||||
[self downloadUpdateFromAppcastItem:nonDeltaUpdateItem];
|
||||
|
||||
Reference in new issue
Block a user