HomePhabricator
Diffusion Comm 59cd7a996620

[desktop] Add auto updating

Description

[desktop] Add auto updating

Summary:
Uses the autoUpdater module and check for updates every 5 minutes. Exposes to the web app:

  • current version
  • listener for a new version
  • method to trigger the update.

Depends on D6321

Test Plan: Tested with the later diffs that introduce UI in the web app. Created a few version of the app and checked if the download and automatic update is triggered correctly after uploading a new one (on both macos and windows).

Reviewers: inka, przemek, tomek

Reviewed By: tomek

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D6322

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Jan 19 2023, 1:40 PM
Reviewer
tomek
Differential Revision
D6322: [desktop] Add auto updating
Parents
rCOMM0b8a447bab11: [desktop] Add additional types for electron auto updating
Branches
Unknown
Tags
Unknown

Event Timeline

Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM59cd7a996620: [desktop] Add auto updating (authored by Michal Gniadek <michal.gniadek@swmansion.com>).Feb 1 2023, 3:17 AM