How can I install an update and restart an application at any time? #2557
Unanswered
ivan-diachenko-td
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I think you can just not release the update UI session (not call |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello team,
Disclaimer: I don't use Sparkle UI, I override
SPUUserDriver
,SPUUpdaterDelegate
and use my implementations when creatingSPUUpdater
.I am trying to implement an update installation and restart at any time. I want to be able to check for an update, download it if it exists but dismiss the installation (AFAIK it can be done in

showReadyToInstallAndRelaunch.reply(SPUUserUpdateChoiceDismiss)
) so as to release the session and be able to do checks for updates later. But now I stumbled with how to install an update and restart the applications. I want to be able to implement a similar to Chrome's behavior with its "Relaunch to update" button:If I just restart my app there are no guarantees that I will launch the same version and there would not be any issue since the restart process knows nothing about Sparkle updating the application.
Please, let me know if it is possible.
Beta Was this translation helpful? Give feedback.
All reactions