Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 1e4a72a

Browse files
committed
Use correct architecture for electron builds
1 parent 50b918e commit 1e4a72a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/build.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ if (!ModuleDetails) {
107107
}
108108
if (ModuleDetails[0] === Constants.Runtimes.ELECTRON) {
109109
gypOptions['dist-url'] = 'https://atom.io/download/electron';
110+
gypOptions.arch = process.platform === 'win32' ? 'ia32' : process.arch;
110111
}
111112

112113
build(gypOptions, function (errorCode) {

0 commit comments

Comments
 (0)