Skip to content

Commit a55423f

Browse files
author
Ash Cripps
committed
tools: set arch in Distrbution.xml
refs: #37678 (comment) We overwrite the Distrbution.xml file inside the pkg which means the pkg cannot be opened on apple silicon without rosetta as it defaults to x86_64
1 parent 369f239 commit a55423f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/macos-installer/productbuild/distribution.xml.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<background alignment="topleft" file="osx_installer_logo.png"/>
77
<pkg-ref id="org.nodejs.node.pkg" auth="root"/>
88
<pkg-ref id="org.nodejs.npm.pkg" auth="root"/>
9-
<options customize="allow" require-scripts="false"/>
9+
<options customize="allow" require-scripts="false" hostArchitectures="x86_64,arm64"/>
1010
<license file="license.rtf"/>
1111
<choices-outline>
1212
<line choice="org.nodejs.node.pkg" />

0 commit comments

Comments
 (0)