refactor(packager): upgrade to Electron Packager 8.5.0
version is deprecated in favor of electronVersion.
This commit is contained in:
Родитель
150ea5dd99
Коммит
b8489b4760
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче