From 78d7243a089a5303fca620e4871e8429404024cf Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Mon, 3 Oct 2016 04:38:47 -0700 Subject: [PATCH] package: Explicitly specify architectures to build for Electron now offers a "armv7l" build on Linux. Because we were specifying "all", we were generating an armv7l binary which was being included in "WebTorrent-vX.X.X-linux.zip" along with the ia32 build, which explains why it was 90MB+ in the last release. --- bin/package.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/package.js b/bin/package.js index 8732e4c1..38aea5c7 100755 --- a/bin/package.js +++ b/bin/package.js @@ -134,7 +134,7 @@ const win32 = { platform: 'win32', // Build ia32 and x64 binaries. - arch: 'all', + arch: ['ia32', 'x64'], // Object hash of application metadata to embed into the executable (Windows only) win32metadata: { @@ -168,7 +168,7 @@ const linux = { platform: 'linux', // Build ia32 and x64 binaries. - arch: 'all' + arch: ['ia32', 'x64'] // Note: Application icon for Linux is specified via the BrowserWindow `icon` option. }