mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Comment why NSWorkspace launchApplicationAtURL: method isn't used
This commit is contained in:
1 parent
73f49ce573
commit
6321329282
1 file changed
+2
@@ -194,6 +194,8 @@ static const NSTimeInterval SUTerminationTimeDelay = 0.3;
|
||||
{
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
if (!self.willTerminate) {
|
||||
// We only launch applications, but I'm not sure how reliable -launchApplicationAtURL:options:config: is so we're not using it
|
||||
// Eg: http://www.openradar.me/10952677
|
||||
if (![[NSWorkspace sharedWorkspace] openFile:pathToRelaunch]) {
|
||||
SULog(@"Error: Failed to relaunch bundle at %@", pathToRelaunch);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user