-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sparkle not silently updating on exit #892
Comments
The cocoa app termination event probably isn't being fired by Qt. Currently a defect that Sparkle even relies on this event, but see #839 for possible workarounds. |
@zorgiepoo Thanks for the pointer. Will try that workaround later today and report back. |
Indeed. Adding |
Note Sparkle 2 doesn't need posting of |
I develop a C++/Qt application and want to use Sparkle for silent automatic updates on macOS.
The relevant Sparkle setup code looks like:
The delegate only outputs debug info:
However, the downloaded and extracted new app bundle is never installed on exit. If I go the non-silent, non-automatic route and in the dialog click the install button, it's installed.
Isn't Sparkle to automatically run the install routines on exit? Browsing the code on GItHub I see a NSInvocation being prepared for this case, https://github.com/sparkle-project/Sparkle/blob/master/Sparkle/SUAutomaticUpdateDriver.m#L81, however I don't see where this is executed on exit. Same goes for the
willUpdateOnTermination
property in the same file. Shouldn't there be a hook in Sparkle that's called before quite and that installs the update?The text was updated successfully, but these errors were encountered: