mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-28 05:14:34 +00:00
This commit is contained in:
1 parent
f9740292d4
commit
3c793482c8
1 file changed
+7
-1
Vendored
+7
-1
@@ -113,7 +113,13 @@
|
||||
[task setStandardOutput:[NSFileHandle fileHandleWithStandardOutput]];
|
||||
[task setLaunchPath:command];
|
||||
[task setArguments:[args arrayByAddingObject:destination]];
|
||||
[task launch];
|
||||
@try {
|
||||
[task launch];
|
||||
}
|
||||
@catch (NSException *e) {
|
||||
error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUUnarchivingError userInfo:@{ NSLocalizedDescriptionKey:[NSString stringWithFormat:@"Extraction failed, -[NSTask launch] threw exception '%@'", e.description]}];
|
||||
return;
|
||||
}
|
||||
|
||||
NSUInteger bytesRead = 0;
|
||||
do {
|
||||
|
||||
Reference in new issue
Block a user