Skip to content

Commit 13d0de5

Browse files
author
Ash Cripps
committed
tools: set arch in Distribution.xml
refs: #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: #38261 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
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

Lines changed: 1 addition & 1 deletion
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)