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
This commit is contained in:
Christopher Willis-Ford 2020-06-03 16:33:49 -07:00
parent 6d9ab116bb
commit c36c5c90f4

View file

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