From fc879d5801224e6d0133ec373ef4761969ebe282 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 22 Sep 2016 11:42:43 +0200 Subject: [PATCH] Update electron-packager to v8 (#946) * electron-packager@8 * package: updates for electron-packager 8 --- bin/package.js | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/package.js b/bin/package.js index a272dfb1..4094ddaf 100755 --- a/bin/package.js +++ b/bin/package.js @@ -73,11 +73,11 @@ var all = { // Package the application's source code into an archive, using Electron's archive // format. Mitigates issues around long path names on Windows and slightly speeds up // require(). - asar: true, - - // A glob expression, that unpacks the files with matching names to the - // "app.asar.unpacked" directory. - 'asar-unpack': 'WebTorrent*', + asar: { + // A glob expression, that unpacks the files with matching names to the + // "app.asar.unpacked" directory. + unpack: 'WebTorrent*' + }, // The build version of the application. Maps to the FileVersion metadata property on // Windows, and CFBundleVersion on Mac. Note: Windows requires the build version to @@ -137,7 +137,7 @@ var win32 = { arch: 'all', // Object hash of application metadata to embed into the executable (Windows only) - 'version-string': { + win32metadata: { // Company that produced the file. CompanyName: config.APP_NAME, diff --git a/package.json b/package.json index 20efee83..9cc3e0eb 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "cross-zip": "^2.0.1", "depcheck": "^0.6.4", "electron-osx-sign": "^0.3.0", - "electron-packager": "^7.0.0", + "electron-packager": "^8.0.0", "electron-winstaller": "^2.3.0", "gh-release": "^2.0.3", "minimist": "^1.2.0",