Indent all the files to 78-characters so that doc diffs are usable
This commit is contained in:
parent
d0ab7e2c1e
commit
38b37f2520
18 changed files with 308 additions and 119 deletions
|
@ -1,8 +1,10 @@
|
|||
## Synopsis
|
||||
|
||||
`auto-upater` module is a simple wrap around the Sparkle framework, it provides auto update service for the application.
|
||||
`auto-updater` module is a simple wrap around the Sparkle framework, it
|
||||
provides auto update service for the application.
|
||||
|
||||
Before using this module, you should edit the `Info.plist` following https://github.com/andymatuschak/Sparkle/wiki.
|
||||
Before using this module, you should edit the `Info.plist` following
|
||||
https://github.com/andymatuschak/Sparkle/wiki.
|
||||
|
||||
## Event: will-install-update
|
||||
|
||||
|
@ -10,7 +12,9 @@ Before using this module, you should edit the `Info.plist` following https://git
|
|||
* `version` String
|
||||
* `continueUpdate` Function
|
||||
|
||||
This event is emitted when the update is found and going to be installed. Calling `event.preventDefault()` would pause it, and you can call `continueUpdate` to continue the update.
|
||||
This event is emitted when the update is found and going to be installed.
|
||||
Calling `event.preventDefault()` would pause it, and you can call
|
||||
`continueUpdate` to continue the update.
|
||||
|
||||
## Event: ready-for-update-on-quit
|
||||
|
||||
|
@ -18,7 +22,8 @@ This event is emitted when the update is found and going to be installed. Callin
|
|||
* `version` String
|
||||
* `quitAndUpdate` Function
|
||||
|
||||
This event is emitted when user chose to delay the update until the quit. Calling `quitAndUpdate()` would quit the application and install the update.
|
||||
This event is emitted when user chose to delay the update until the quit.
|
||||
Calling `quitAndUpdate()` would quit the application and install the update.
|
||||
|
||||
## autoUpdater.setFeedUrl(url)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue