EN
The Electron team maintains update.electronjs.org, a free and open-source
webservice that Electron apps can use to self-update. The service is designed
for Electron apps that meet the following criteria:
App runs on macOS or Windows
App has a public GitHub repository
Builds are published to GitHub Releases
Builds are code-signed
The easiest way to use this service is by installing update-electron-app,
a Node.js module preconfigured for use with update.electronjs.org.
Install the module:
npm install update-electron-app
Invoke the updater from your app's main process file:
require('update-electron-app')()
By default, this module will check for updates at app startup, then every ten
minutes. When an update is found, it will automatically be downloaded in the background. When the download completes, a dialog is displayed allowing the user
to restart the app.