Skip to content

Commit

Permalink
fix: alternative usage (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeke authored Apr 26, 2018
1 parent 69e91c6 commit 6b30e0f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ That's it! Here's what happens by default:
- If an update is found, it will automatically be downloaded in the background.
- When an update is finished downloading, a dialog is displayed allowing the user to restart the app now or later.

You can also specify custom options:

```js
require('update-electron-app')({
repo: 'github-user/repo',
updateInterval: '1 hour',
logger: require('electron-log')
})
```

## API

### `update(options)`
Expand Down

0 comments on commit 6b30e0f

Please sign in to comment.