- Apple Developer Certificate (if targeting macOS)
- Windows Developer Certificate (if targeting Windows)
Electron works with auto updates out of the box.
1. Update Env Variables
To get started you'll need to configure the following environmental variables, which electron-builder uses to sign your app:
|Variable Name||How to get it|
|Your Apple ID|
|Your Apple password (use an app specific password)|
See electron-builder's docs for more details:
2. Update App Config
3. Configure Your Server
Auto update assets need to be published somewhere. For open source apps, its convenient and free to publish via github releases, which electron-react-boilerplate does out of the box. Electron-builder doesn't recommend using github releases publish private apps. Instead you should host your releases you can host your own server
See electron-builder's publish docs for more details.