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”.
have a modal that appears when an update is available with the following details:
The expected behavior is:
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”.