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

There is a way to Prevent auto-update installation on app.quit()? #154

Open
maoryadin opened this issue Jul 14, 2024 · 0 comments
Open

There is a way to Prevent auto-update installation on app.quit()? #154

maoryadin opened this issue Jul 14, 2024 · 0 comments

Comments

@maoryadin
Copy link

have a modal that appears when an update is available with the following details:

•	Title: “New update has been downloaded”
•	Buttons: “Update Now”, “Later”

The expected behavior is:

•	Clicking “Update Now” should restart the app and apply the update.
•	Clicking “Later” should close the modal without updating.

However, if the user closes the app using the X button (triggering app.quit()), the app updates and relaunches with the new version on the next run.

Question:
Is there a way to control this behavior so that the update only happens when the “Now” button is clicked? I want to ensure that the app only updates when the user explicitly chooses to do so by clicking “Now”.

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

No branches or pull requests

1 participant