From c36c5c90f4378a4360096fe6d725605bd656fdb1 Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford Date: Wed, 3 Jun 2020 16:33:49 -0700 Subject: [PATCH] use 32-bit Electron for NSIS installer Use 'nsis:ia32' instead of just 'nsis' for the Windows direct-download build. This means we explicitly request a 32-bit build rather than allowing electron-builder to default; the default is currently to make a 64-bit build. resolves #114 --- scripts/electron-builder-wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/electron-builder-wrapper.js b/scripts/electron-builder-wrapper.js index 1696814..a96bcc5 100644 --- a/scripts/electron-builder-wrapper.js +++ b/scripts/electron-builder-wrapper.js @@ -77,7 +77,7 @@ const calculateTargets = function () { switch (process.platform) { case 'win32': // run in two passes so we can skip signing the appx - return ['nsis', 'appx']; + return ['nsis:ia32', 'appx']; case 'darwin': // Running 'dmg' and 'mas' in the same pass causes electron-builder to skip signing the non-MAS app copy. // Running them as separate passes means they both get signed.