Skip to content

Commit

Permalink
refactor(packager): upgrade to Electron Packager 8.5.0
Browse files Browse the repository at this point in the history
version is deprecated in favor of electronVersion.
  • Loading branch information
malept committed Jan 11, 2017
1 parent 150ea5d commit b8489b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"commander": "^2.9.0",
"debug": "^2.3.3",
"electron-installer-dmg": "^0.1.2",
"electron-packager": "^8.4.0",
"electron-packager": "^8.5.0",
"electron-rebuild": "^1.5.5",
"electron-sudo": "malept/electron-sudo#fix-linux-sudo-detection",
"electron-windows-store": "^0.7.2",
Expand Down
2 changes: 1 addition & 1 deletion src/api/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default async (providedOptions = {}) => {
arch,
platform,
out: path.resolve(dir, 'out'),
version: packageJSON.devDependencies['electron-prebuilt-compile'],
electronVersion: packageJSON.devDependencies['electron-prebuilt-compile'],
});
packageOpts.quiet = true;
if (typeof packageOpts.asar === 'object' && packageOpts.asar.unpack) {
Expand Down

0 comments on commit b8489b4

Please sign in to comment.