Merge pull request #10326 from develar/patch-4

docs: add note about electron-updater
This commit is contained in:
Zeke Sikelianos 2017-09-27 15:14:44 -07:00 committed by GitHub
commit 0c9ada08a4

View file

@ -22,6 +22,10 @@ but caches app updates on disk and supports private repositories.
- [electron-release-server](https://github.com/ArekSredzki/electron-release-server) - [electron-release-server](https://github.com/ArekSredzki/electron-release-server)
Provides a dashboard for handling releases Provides a dashboard for handling releases
If your app is packaged with [electron-builder][electron-builder-lib] you can use the
[electron-updater] module, which does not require a server and allows for updates
from S3, GitHub or any other static file host.
## Implementing updates in your app ## Implementing updates in your app
Once you've deployed your update server, continue with importing the required Once you've deployed your update server, continue with importing the required
@ -94,3 +98,6 @@ autoUpdater.on('error', message => {
console.error(message) console.error(message)
}) })
``` ```
[electron-builder-lib]: https://github.com/electron-userland/electron-builder
[electron-updater]: https://www.electron.build/auto-update