mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Download path should be full path
This commit is contained in:
1 parent
9c301bfbf3
commit
7df50ccfd3
4 files changed
+9
-7
No files matched your search
Vendored
+7
@@ -43,10 +43,12 @@
|
||||
|
||||
- (void)startPersistentDownloadWithRequest:(SPUURLRequest *)__unused request bundleIdentifier:(NSString *)__unused bundleIdentifier desiredFilename:(NSString *)__unused desiredFilename
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
- (void)startTemporaryDownloadWithRequest:(SPUURLRequest *)__unused request
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
- (void)enableAutomaticTermination
|
||||
@@ -74,6 +76,11 @@
|
||||
|
||||
}
|
||||
|
||||
- (void)downloadDidFinish
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
-(void)downloadDidFinishWithData:(SPUDownloadData*)data
|
||||
{
|
||||
switch (self.mode) {
|
||||
|
||||
Vendored
-5
@@ -38,11 +38,6 @@
|
||||
- (void)downloaderDidFinishWithTemporaryDownloadData:(SPUDownloadData * _Nullable)downloadData;
|
||||
- (void)downloaderDidFailWithError:(NSError *)error;
|
||||
|
||||
/*
|
||||
- (void)download:(NSURLDownload *)d decideDestinationWithSuggestedFilename:(NSString *)name;
|
||||
- (void)downloadDidFinish:(NSURLDownload *)d;
|
||||
- (void)download:(NSURLDownload *)download didFailWithError:(NSError *)error;*/
|
||||
|
||||
- (void)extractUpdate;
|
||||
- (void)failedToApplyDeltaUpdate;
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -293,7 +293,7 @@
|
||||
- (void)downloaderDidSetDestinationName:(NSString *)destinationName temporaryDirectory:(NSString *)temporaryDirectory
|
||||
{
|
||||
self.tempDir = temporaryDirectory;
|
||||
self.downloadPath = destinationName; // TODO: does this need to be a full path?
|
||||
self.downloadPath = [temporaryDirectory stringByAppendingPathComponent:destinationName];
|
||||
}
|
||||
|
||||
- (void)downloaderDidReceiveExpectedContentLength:(int64_t)__unused expectedContentLength
|
||||
|
||||
Vendored
+1
-1
@@ -15,7 +15,7 @@ extern NSString *const SUUpdateDriverFinishedNotification;
|
||||
|
||||
@class SUHost, SUUpdater;
|
||||
@protocol SUUpdaterPrivate;
|
||||
@interface SUUpdateDriver : NSObject <NSURLDownloadDelegate>
|
||||
@interface SUUpdateDriver : NSObject
|
||||
|
||||
// We only have SUUpdater* forward declared intentionally (i.e, not #import'ing SUUpdater.h in the update drivers)
|
||||
// This is so we can minimize what we can access using SUUpdaterPrivate
|
||||
|
||||
Reference in new issue
Block a user