Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixing #511784: Subclass of SUBasicUpdateDriver can't find relauncher

  • Loading branch information...
1 parent 9bc63cc commit 5cdfffa521fec03c4e28e78deabd77b7be74f057 @andymatuschak andymatuschak committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  SUBasicUpdateDriver.m
2  SUBasicUpdateDriver.m
@@ -254,7 +254,7 @@ - (void)installUpdate
[[updater delegate] updater:updater willInstallUpdate:updateItem];
// Copy the relauncher into a temporary directory so we can get to it after the new version's installed.
- NSString *relaunchPathToCopy = [[NSBundle bundleForClass:[self class]] pathForResource:@"relaunch" ofType:@""];
+ NSString *relaunchPathToCopy = [SPARKLE_BUNDLE pathForResource:@"relaunch" ofType:@""];
NSString *targetPath = [NSTemporaryDirectory() stringByAppendingPathComponent:[relaunchPathToCopy lastPathComponent]];
// Only the paranoid survive: if there's already a stray copy of relaunch there, we would have problems.
NSError *error = nil;

0 comments on commit 5cdfffa

Please sign in to comment.
Something went wrong with that request. Please try again.