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.
This commit is contained in:
Feross Aboukhadijeh
2016-10-03 04:38:47 -07:00
parent 09724dddd9
commit 78d7243a08

View File

@@ -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.
}