Skip to content
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

Allow user to re-try installing/relaunching application #2234

Merged
merged 5 commits into from
Aug 21, 2022

Conversation

zorgiepoo
Copy link
Member

@zorgiepoo zorgiepoo commented Aug 21, 2022

If the app termination request is delayed or canceled, the user can check for updates again with the standard user driver and try installing/relaunching again, which will trigger the installer to send another quit event to the running application.

Before the install/relaunch window would close but the check for updates option would still be present but not functional.

Misc Checklist

  • My change requires a documentation update on Sparkle's website repository
  • My change requires changes to generate_appcast, generate_keys, or sign_update

Only bug fixes to regressions or security fixes are being backported to the 1.x (master) branch now. If you believe your change is significant enough to backport, please also create a separate pull request against the master branch.

Testing

I tested and verified my change by using one or multiple of these methods:

  • Sparkle Test App
  • Unit Tests
  • My own app
  • Other (please specify)

Tested test app and other document based app that tried delaying/canceling app termination and later allowed app termination; bringing update status window back in focus allows to relaunch app again (instead of previously doing nothing). Tested that immediateInstallHandler the automatic update driver passes to the updater delegate can be invoked multiple times too in case termination is canceled.

macOS version tested: 12.5.1 (21G83)

If the app termination request is delayed or canceled, the user can check for updates again with the standard user driver and try installing/relaunching again, which will trigger the installer to send another quit event to the running application.

Before the install/relaunch window would close but the check for updates option would still be present but not functional.
@zorgiepoo zorgiepoo added this to the 2.3 milestone Aug 21, 2022
@zorgiepoo zorgiepoo merged commit f5d4ad5 into 2.x Aug 21, 2022
@zorgiepoo zorgiepoo deleted the retry-app-termination branch August 21, 2022 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant