mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-22 21:52:31 -05:00
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:
parent
6d9ab116bb
commit
c36c5c90f4
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ const calculateTargets = function () {
|
||||||
switch (process.platform) {
|
switch (process.platform) {
|
||||||
case 'win32':
|
case 'win32':
|
||||||
// run in two passes so we can skip signing the appx
|
// run in two passes so we can skip signing the appx
|
||||||
return ['nsis', 'appx'];
|
return ['nsis:ia32', 'appx'];
|
||||||
case 'darwin':
|
case 'darwin':
|
||||||
// Running 'dmg' and 'mas' in the same pass causes electron-builder to skip signing the non-MAS app copy.
|
// 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.
|
// Running them as separate passes means they both get signed.
|
||||||
|
|
Loading…
Reference in a new issue