Skip to content

Commit

Permalink
tools: set arch in Distrbution.xml
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ash Cripps committed Apr 16, 2021
1 parent 369f239 commit a55423f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/macos-installer/productbuild/distribution.xml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<background alignment="topleft" file="osx_installer_logo.png"/>
<pkg-ref id="org.nodejs.node.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"/>
<choices-outline>
<line choice="org.nodejs.node.pkg" />
Expand Down

0 comments on commit a55423f

Please sign in to comment.