electron / electron/update-electron-app
There is a way to Prevent auto-update installation on app.quit()?
- Dominant language
- TypeScript
- Stars
- 824
- Forks
- 145
- Avg merge
- 9h 22m
- Merged PRs (30d)
- 3
Description
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”.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.