-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto update application #35
Conversation
This PR also includes a GitHub action that automatically builds a new version of our application after each push to master. |
This PR should not be merged before auto-updating works on macOS. For this to work, we are required to notarise our application. This can only be done by Apple Developers (which requires us to pay a 100$ registration fee each year). Notarising our app also removes the GateKeeper warning that appears when users try to install Unipept Desktop. For Windows, we are also required to sign the app using an EV-certificate in order to get rid of the "Windows protected your PC" message that obstructs installation. Both notarisation and signing are not mandatory, but will discourage users to install the app. |
Automatically update the desktop application when a new version is available. The new version is downloaded and installed automatically in the background without the need for user intervenience.
The user is informed about the download process with a snackbar at the bottom of the application:

In case of a successful installation the user is greeted with a different message:

Errors that may occur during application updates are intercepted and presented to the user:
