mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-28 05:14:34 +00:00
Rely more on content length from appcast item than from downloader
The rationale is that the downloader may be giving us an expected length for a block of data rather than the whole
This commit is contained in:
1 parent
f62285ff3b
commit
355d6eddbf
2 files changed
+18
-12
No files matched your search
@@ -14,6 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
- (void)downloaderDidSetDestinationName:(NSString *)destinationName temporaryDirectory:(NSString *)temporaryDirectory;
|
||||
|
||||
// Under rare cases, this may be called more than once, in which case the current progress should be reset back to 0
|
||||
- (void)downloaderDidReceiveExpectedContentLength:(int64_t)expectedContentLength;
|
||||
|
||||
- (void)downloaderDidReceiveDataOfLength:(NSUInteger)length;
|
||||
|
||||
Reference in new issue
Block a user