tools: set arch in Distribution.xml
refs: https://github.com/nodejs/node/pull/37678#issuecomment-821179247 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: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
ee9e2a2eb6
commit
13d0de5954
@ -6,7 +6,7 @@
|
|||||||
<background alignment="topleft" file="osx_installer_logo.png"/>
|
<background alignment="topleft" file="osx_installer_logo.png"/>
|
||||||
<pkg-ref id="org.nodejs.node.pkg" auth="root"/>
|
<pkg-ref id="org.nodejs.node.pkg" auth="root"/>
|
||||||
<pkg-ref id="org.nodejs.npm.pkg" auth="root"/>
|
<pkg-ref id="org.nodejs.npm.pkg" auth="root"/>
|
||||||
<options customize="allow" require-scripts="false"/>
|
<options customize="allow" require-scripts="false" hostArchitectures="x86_64,arm64"/>
|
||||||
<license file="license.rtf"/>
|
<license file="license.rtf"/>
|
||||||
<choices-outline>
|
<choices-outline>
|
||||||
<line choice="org.nodejs.node.pkg" />
|
<line choice="org.nodejs.node.pkg" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user