refactor(packager): upgrade to Electron Packager 8.5.0

version is deprecated in favor of electronVersion.
This commit is contained in:
Mark Lee 2017-01-10 21:00:24 -08:00 коммит произвёл Mark Lee
Родитель 150ea5dd99
Коммит b8489b4760
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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",

Просмотреть файл

@ -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) {