Skip to content

Commit 13d0de5

Browse files
author
Ash Cripps
committedApr 19, 2021
tools: set arch in Distribution.xml
refs: nodejs#37678 (comment) We overwrite the Distribution.xml file inside the pkg which means the pkg cannot be opened on apple silicon without rosetta as it defaults to x86_64 PR-URL: nodejs#38261 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent ee9e2a2 commit 13d0de5

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)
Please sign in to comment.