You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the update-electron-app package checks for updates automatically. While this approach is convenient for many scenarios, it may not suit applications requiring explicit user control over the update process. Developers may prefer to disable automatic checks and instead have:
Manual control for checking updates: A method to initiate update checks programmatically.
Manual installation of updates: A method to trigger the update installation process on demand.
Proposed Changes
Add a disableAutoCheck Option:
Introduce a configuration option in the package to disable automatic update checks when the application starts.
Provide a method developers can call to manually check for updates. This method would work like the internal automatic check but only when explicitly invoked.
Allow developers to manually trigger the installation of a downloaded update. This would be useful for scenarios where the user needs to approve updates or when updates are installed at specific times.
Improved Flexibility: Developers gain greater control over when and how updates are managed in their applications.
Enhanced UX: End-users can be explicitly informed about updates and prompted for consent before downloading or installing.
Broader Adoption: These changes may attract developers with stricter requirements around update control.
Implementation Notes
Leverage Electron’s autoUpdater module to support the new methods.
Ensure compatibility with existing configurations to prevent breaking changes.
Compatibility
This change would be backward-compatible since the current default behavior (automatic update checks) would remain unchanged unless the disableAutoCheck flag is set.
The text was updated successfully, but these errors were encountered:
hichemfantar
changed the title
Proposal: Enhance UX in update-electron-app by Adding Manual Update Control Options
Proposal: Add Fine-Grained Control Over the Update Process to update-electron-appNov 16, 2024
Problem
Currently, the
update-electron-app
package checks for updates automatically. While this approach is convenient for many scenarios, it may not suit applications requiring explicit user control over the update process. Developers may prefer to disable automatic checks and instead have:Proposed Changes
Add a
disableAutoCheck
Option:Expose a
checkForUpdates
Method:Expose a
installUpdate
Method:Benefits
Implementation Notes
autoUpdater
module to support the new methods.Compatibility
This change would be backward-compatible since the current default behavior (automatic update checks) would remain unchanged unless the
disableAutoCheck
flag is set.The text was updated successfully, but these errors were encountered: