Skip to content
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

Add electron auto updater #1396

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rafaellehmkuhl
Copy link
Member

@rafaellehmkuhl rafaellehmkuhl commented Oct 10, 2024

This PR adds an auto-updating system to the electron version of Cockpit.

This system informs the user when new versions are available, allows the user to download and install it, ignore it for now or skip the given version.

With it, the users don't have to reach out to GitHub to check for new versions and download them anymore.

Kapture.2024-12-11.at.06.14.54.mp4

It works here by mocking the version, which means it will almost surely work once in production. To test it with the mocks, checkout this branch.

Fix #1290.

@rafaellehmkuhl rafaellehmkuhl force-pushed the add-electron-auto-updater branch 30 times, most recently from 5d05377 to 3e735a9 Compare October 11, 2024 11:44
@rafaellehmkuhl rafaellehmkuhl force-pushed the add-electron-auto-updater branch 4 times, most recently from 80e1567 to 897413b Compare October 16, 2024 12:26
@rafaellehmkuhl rafaellehmkuhl force-pushed the add-electron-auto-updater branch 7 times, most recently from e4e006c to c8ef9bf Compare November 6, 2024 21:01
@rafaellehmkuhl rafaellehmkuhl force-pushed the add-electron-auto-updater branch 4 times, most recently from 3ebec9e to 265a3e0 Compare November 29, 2024 22:25
@rafaellehmkuhl rafaellehmkuhl force-pushed the add-electron-auto-updater branch 6 times, most recently from 6c4c088 to 93c997d Compare December 9, 2024 21:18
It will be used for offering auto-updates of the Electron app.
With this new implementation, the user is informed that a new version of the application is available and can choose between downloading it or not.
@rafaellehmkuhl rafaellehmkuhl force-pushed the add-electron-auto-updater branch from 93c997d to 35c83a9 Compare December 16, 2024 16:57
@rafaellehmkuhl rafaellehmkuhl requested review from patrickelectric and ArturoManzoli and removed request for patrickelectric December 16, 2024 17:00
@rafaellehmkuhl rafaellehmkuhl marked this pull request as ready for review December 16, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Desktop (electron) version needs an auto/easy-updater
1 participant