Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
megahertz committed Nov 20, 2016
2 parents 48b4a69 + 83596dd commit f3bb6ab
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ Support OS:
- Windows ([Squirrel.Windows](https://github.com/Squirrel/Squirrel.Windows))
- Linux (for [AppImage](http://appimage.org/) format)

## Differences between electron-simple-updater and built-in autoUpdater

* Actually, autoUpdater is used inside.
* Linux support.
* It handles Squirrel.Windows install/update command line arguments.
* It doesn't require a dedicated release server.
* You need only 2 lines of code to make it work.

## Installation

Install with [npm](https://npmjs.org/package/electron-simple-updater):
Expand Down Expand Up @@ -166,4 +174,4 @@ default.
Licensed under MIT.

Logo was designed by [prolko](https://www.behance.net/prolko) base on the
original [electron](https://github.com/electron/electron) logo.
original [electron](https://github.com/electron/electron) logo.
18 changes: 8 additions & 10 deletions example/updates.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
{
"linux-x64-prod": {
"updateUrl": "https://github.com/megahertz/electron-simple-updater/releases/download/example-linux-x64-prod-v0.0.2/simple-updater-example-0.0.2-x86_64.AppImage",
"installerUrl": "https://github.com/megahertz/electron-simple-updater/releases/download/example-linux-x64-prod-v0.0.2/simple-updater-example-0.0.2-x86_64.AppImage",
"version": "0.0.2",
"platform": "linux",
"readme": "Second version"
"readme": "Second release",
"update": "https://github.com/megahertz/electron-simple-updater/releases/download/linux-x64-prod-v0.0.2/simple-updater-example-0.0.2-x86_64.AppImage",
"install": "https://github.com/megahertz/electron-simple-updater/releases/download/linux-x64-prod-v0.0.2/simple-updater-example-0.0.2-x86_64.AppImage",
"version": "0.0.2"
},
"win32-x64-prod": {
"updateUrl": "https://github.com/megahertz/electron-simple-updater/releases/download/example-win32-x64-prod-v0.0.2",
"installerUrl": "https://github.com/megahertz/electron-simple-updater/releases/download/example-win32-x64-prod-v0.0.2/Simple.Updater.Example.Setup.0.0.2.exe",
"version": "0.0.2",
"platform": "win32",
"readme": "Second version"
"readme": "Second release",
"update": "https://github.com/megahertz/electron-simple-updater/releases/download/win32-x64-prod-v0.0.2",
"install": "https://github.com/megahertz/electron-simple-updater/releases/download/win32-x64-prod-v0.0.2/Simple.Updater.Example.Setup.0.0.2.exe",
"version": "0.0.2"
},
"darwin-x64-prod": {
"updateUrl": "https://github.com/megahertz/electron-simple-updater/releases/download/example-darwin-x64-prod-v0.0.2/release.json",
Expand Down

0 comments on commit f3bb6ab

Please sign in to comment.