mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-28 05:14:34 +00:00
Fix Test App crashing on systems earlier than 10.9
Passing a NSURL instance to a NSTask's arguments calls -[NSURL fileSystemRepresentation] which is only available on 10.9+
This commit is contained in:
1 parent
545b8f2416
commit
17da7b5fb8
1 file changed
+1
-1
@@ -120,7 +120,7 @@ static NSString * const UPDATED_VERSION = @"2.0";
|
||||
signUpdateTask.launchPath = signUpdatePath;
|
||||
|
||||
NSURL *archiveURL = [serverDirectoryURL URLByAppendingPathComponent:zipName];
|
||||
signUpdateTask.arguments = @[archiveURL, privateKeyPath];
|
||||
signUpdateTask.arguments = @[archiveURL.path, privateKeyPath];
|
||||
|
||||
NSPipe *outputPipe = [NSPipe pipe];
|
||||
signUpdateTask.standardOutput = outputPipe;
|
||||
|
||||
Reference in new issue
Block a user