SUPackageInstaller should respect synchronously option
Bug #301640 reported by
David Dauer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sparkle |
Confirmed
|
Medium
|
Unassigned |
Bug Description
1.5b6:
the corrected method should be
+ (void)performIn
{
....
NSTask *installer = [NSTask launchedTaskWit
if (synchronously) [installer waitUntilExit]; // changed here
// Known bug: if the installation fails or is canceled, Sparkle goes ahead and restarts, thinking everything is fine.
[self _finishInstalla
}
To post a comment you must log in.
This is actually a little trickier than that: making the change suggested would not actually ensure that the installation had completed when the method returned, which the caller could rely upon.
The consequence of this bug is not very significant, though (it affects apps which use .pkgs and which might want to postpone installation), and it would require a lot of work to fix, so I think I'm punting for 1.5.