From d3f30e7a9ccfc246f62d9d25765400aefb206027 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Tue, 22 Aug 2017 16:51:57 +0200 Subject: [PATCH 1/3] docs: add note about electron-updater --- docs/tutorial/updates.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/tutorial/updates.md b/docs/tutorial/updates.md index 8dd97b6bf98f..dfd74928f244 100644 --- a/docs/tutorial/updates.md +++ b/docs/tutorial/updates.md @@ -22,6 +22,8 @@ but caches app updates on disk and supports private repositories. - [electron-release-server](https://github.com/ArekSredzki/electron-release-server) – Provides a dashboard for handling releases +When using [electron-builder][electron-builder-lib], you can also use userland [electron-updater][electron-updater] module. It allows you to avoid update server maintaining (Amazon S3, GitHub or any other static server are supported). + ## Implementing updates in your app Once you've deployed your update server, continue with importing the required @@ -94,3 +96,6 @@ autoUpdater.on('error', message => { console.error(message) }) ``` + +[electron-builder-lib]: https://github.com/electron-userland/electron-builder +[electron-updater]: https://github.com/electron-userland/electron-builder/wiki/Auto-Update From 6bded6bf7b5a0ee903cbb40be53244f207dc9007 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Tue, 12 Sep 2017 21:37:29 +0200 Subject: [PATCH 2/3] Fix link --- docs/tutorial/updates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/updates.md b/docs/tutorial/updates.md index dfd74928f244..9db389838338 100644 --- a/docs/tutorial/updates.md +++ b/docs/tutorial/updates.md @@ -98,4 +98,4 @@ autoUpdater.on('error', message => { ``` [electron-builder-lib]: https://github.com/electron-userland/electron-builder -[electron-updater]: https://github.com/electron-userland/electron-builder/wiki/Auto-Update +[electron-updater]: https://www.electron.build/auto-update From 2e747e72cfd595ebbebea56f80aecae6bef05f10 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Wed, 27 Sep 2017 07:11:21 +0200 Subject: [PATCH 3/3] change wording --- docs/tutorial/updates.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/tutorial/updates.md b/docs/tutorial/updates.md index 9db389838338..a24b1e32f4a9 100644 --- a/docs/tutorial/updates.md +++ b/docs/tutorial/updates.md @@ -22,7 +22,9 @@ but caches app updates on disk and supports private repositories. - [electron-release-server](https://github.com/ArekSredzki/electron-release-server) – Provides a dashboard for handling releases -When using [electron-builder][electron-builder-lib], you can also use userland [electron-updater][electron-updater] module. It allows you to avoid update server maintaining (Amazon S3, GitHub or any other static server are supported). +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