Skip to content

Commit

Permalink
Merge pull request #952 from electron-userland/upgrade-dependencies
Browse files Browse the repository at this point in the history
Upgrade asar and yargs-parser dependencies
  • Loading branch information
malept authored Feb 20, 2019
2 parents f304569 + 30c2160 commit 1e9ba9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"homepage": "https://github.com/electron-userland/electron-packager",
"dependencies": {
"asar": "^0.14.0",
"asar": "^1.0.0",
"debug": "^4.0.1",
"electron-download": "^4.1.1",
"electron-notarize": "^0.0.5",
Expand All @@ -33,7 +33,7 @@
"resolve": "^1.1.6",
"sanitize-filename": "^1.6.0",
"semver": "^5.3.0",
"yargs-parser": "^11.0.0"
"yargs-parser": "^13.0.0"
},
"devDependencies": {
"ava": "^1.1.0",
Expand Down
3 changes: 1 addition & 2 deletions platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const asar = require('asar')
const debug = require('debug')('electron-packager')
const fs = require('fs-extra')
const path = require('path')
const pify = require('pify')

const common = require('./common')
const hooks = require('./hooks')
Expand Down Expand Up @@ -202,7 +201,7 @@ class App {
}

debug(`Running asar with the options ${JSON.stringify(this.asarOptions)}`)
return pify(asar.createPackageWithOptions)(this.originalResourcesAppDir, this.appAsarPath, this.asarOptions)
return asar.createPackageWithOptions(this.originalResourcesAppDir, this.appAsarPath, this.asarOptions)
.then(() => fs.remove(this.originalResourcesAppDir))
}

Expand Down

0 comments on commit 1e9ba9c

Please sign in to comment.