Deploying
To sign on Mac, you need a developer account and a distribution certificate. Electron-build will auto pick up the cert if it exists
Way2 may be easy for private repos too
Way 1: AutoUpdate Server
Hazel
Easy zeit creation that pulls from github releases even for private repos
Only run in the prod app version
Notifying user
Way 2: Electron-Updater
Easiest setup! Struggles with private repos, apparently private repos work here too
1)
2) Configure publish in package.json under "build" key
3)
Electron-updater Vs. built-in autoUpdater
Dedicated release server is not required.
Code signature validation on mac & win
All required metadata auto produced & published
Download progress and staged rollouts supported on all platforms.
Different providers supported out of the box (GitHub Releases, Amazon S3, DigitalOcean Spaces, Bintray and generic HTTP(s) server).
You need only 2 lines of code to make it work.
https://github.com/electron/electron/issues/7155)
Way 3, Electron Way:
Electron team maintains free update.electronjs.org for free apps in github releases
App runs on macOS or Windows
App has a public GitHub repository
Builds are published to GitHub Releases
Builds are code-signed
On Mac: App must be signed for auto updates, based on Squirrel.Mac
On WIndows: Make sure not to update app the [first time it runs](**
Last updated