Feature/automatic updates electron updater #43
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Implements automatic update handling using
electron-updater, including startup checks, user notification, controlled download/install flow, and silent install on restart while preserving local data.Goal
Reduce friction for users by enabling in-app updates from GitHub Releases with a clear UI flow and safe background installation.
Key Changes
electron-updater.Type of Change
Impact Assessment
Database Impact
Backup Impact
Testing
How Has This Been Tested?
Test Steps
npm run test:electronnpm testTest Configuration
UI Changes
Before
After
Checklist
npm run lintand fixed any issuesnpm testand all tests passnpm run test:electronand all tests passnpm run sonar:checkand the analysis passesBreaking Changes
Related Issues
Closes #
Related to #40
Additional Context
Updates are delivered from GitHub Releases and installed silently on restart, preserving local SQLite data, backups, and config.
Reviewer Notes
Please focus on the update flow: startup check, user notification, manual download/install, and restart behavior.