From 6321329282643cd0d42e68cfb0b77a63182fb687 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 13 Aug 2016 21:50:45 -0400 Subject: [PATCH] Comment why NSWorkspace launchApplicationAtURL: method isn't used --- Sparkle/InstallerProgress/InstallerProgressAppController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sparkle/InstallerProgress/InstallerProgressAppController.m b/Sparkle/InstallerProgress/InstallerProgressAppController.m index ca14595c..c5705ce7 100644 --- a/Sparkle/InstallerProgress/InstallerProgressAppController.m +++ b/Sparkle/InstallerProgress/InstallerProgressAppController.m @@ -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); }