This PR add auto-update capabilities to the application using the electron-updater module.
The following features are added :
New setting to enable or disable background updates check when the application is running
If background updates check is enable, the app is checking for updates available on GitHub every 20s and ask the user if the update is wanted when a new version is found,
Added a button to check and trigger the application update in the About window
Added a progress bar to report download status of an update in the About window
Updates are managed through the application store using a new data slice and middleware
The auto update mechanism provided by electron-updater requires the artifacts to be named "safely", that is, with only lowercase letters, dashes or underscores in the artifacts names.
The artifacts produced by electron builder are now renamed, following the pattern daisy-pipeline-2023-${version}.${ext} in the electron-builder configuration script.
The PR also include some fixes in the Makefile for windows and in the pipeline prebuild script for MacOS.
This PR add auto-update capabilities to the application using the
electron-updater
module.The following features are added :
The auto update mechanism provided by
electron-updater
requires the artifacts to be named "safely", that is, with only lowercase letters, dashes or underscores in the artifacts names. The artifacts produced by electron builder are now renamed, following the patterndaisy-pipeline-2023-${version}.${ext}
in the electron-builder configuration script.The PR also include some fixes in the Makefile for windows and in the pipeline prebuild script for MacOS.