Skip to content

Commit 17c06fd

Browse files
author
Ethan Kemp
committed
fix(osxUniversal): set appropriate archs in process.env for Mac universal builds
issue electron#3657
1 parent d9323d7 commit 17c06fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/api/core/src/api/package.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ export const listrPackage = (
413413
newRoot: true,
414414
},
415415
async (childTrace, _, task) => {
416+
process.env.npm_config_arch = target.arch;
416417
return delayTraceTillSignal(
417418
childTrace,
418419
task.newListr(

0 commit comments

Comments
 (0)