daisy / pipeline-ui

A user interface for the DAISY Pipeline 2
MIT License
5 stars 2 forks source link

Application auto-update #159

Closed NPavie closed 9 months ago

NPavie commented 9 months ago

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 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.