Skip to content

Commit

Permalink
Merge pull request #32 from adam-lynch/runinstaller-cb
Browse files Browse the repository at this point in the history
Small improvements to runInstaller
  • Loading branch information
edjafarov committed Aug 21, 2014
2 parents 32a04aa + 76da4b1 commit 7df3299
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,14 @@ Will unpack the `filename` in temporary folder.

Callback arguments: error, unpacked directory

### updater:runInstaller(appPath, args, options)
### updater:runInstaller(apppath, args, options)

Runs installer

`apppath` - String
`args` - Array of arguments which will be passed when running the new app
`options` - Optional object

### updater:getAppPath()

Returns executed application path
Expand Down
2 changes: 1 addition & 1 deletion app/updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// checkNewVersion(cb) - checks new version of app
// download(cb) - downloads new version in temp
// unpack(cb) - unpacks the version
// runInstaller(cb) - is starting the installer
// runInstaller(apppath, args, options) - is starting the installer
// -------INSTALLER---
// install(cb) - installs the app in app folder
// runApp(cb) - starting the app
Expand Down

0 comments on commit 7df3299

Please sign in to comment.