Skip to content

Commit

Permalink
Update description of updates.json
Browse files Browse the repository at this point in the history
  • Loading branch information
megahertz committed Nov 3, 2016
1 parent 1f6a376 commit 585ed65
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,29 @@ upload it to a file hosting:
```json
{
"linux-x64-prod": {
// Link to AppImage file
"update": "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"
},
"win32-x64-prod": {
// Link to a folder with the RELEASES file
"update": "https://github.com/megahertz/electron-simple-updater/releases/download/example-win32-x64-prod-v0.0.2",
"version": "0.0.2",
"platform": "win32",
"readme": "Second version"
},
"darwin-x64-prod": {
// Link to json file which contains meta information for Squirrel.Mac
"update": "https://github.com/megahertz/electron-simple-updater/releases/download/example-darwin-x64-prod-v0.0.2/release.json",
"version": "0.0.2",
"platform": "darwin",
"readme": "Second version"
}
}
```
This file contains links to:
1. An AppImage file for linux
2. A folder with the RELEASES file for Squirrel.Windows
3. A JSON file which contains meta information for Squirrel.Mac

### Insert a link to updates.json to your code
```js
Expand Down

0 comments on commit 585ed65

Please sign in to comment.