Permalink
Browse files

Fixes #157: Delayed relaunch not working

  • Loading branch information...
1 parent 02088e0 commit 4d00e8c569933dc7576a7b501f3caea0f4d30737 @andymatuschak andymatuschak committed Feb 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 SUBasicUpdateDriver.m
View
@@ -279,7 +279,7 @@ - (void)installWithToolAndRelaunch:(BOOL)relaunch
{
NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[[self class] instanceMethodSignatureForSelector:@selector(installWithToolAndRelaunch:)]];
[invocation setSelector:@selector(installWithToolAndRelaunch:)];
- [invocation setArgument:&relaunch atIndex:0];
+ [invocation setArgument:&relaunch atIndex:2];
[invocation setTarget:self];
postponedOnce = YES;
if ([[updater delegate] updater:updater shouldPostponeRelaunchForUpdate:updateItem untilInvoking:invocation])

0 comments on commit 4d00e8c

Please sign in to comment.