Skip to content

Commit 9b7bf1e

Browse files
Disable rosetta prompt (aws#9721)
* include hostArchitectures in distribution.xml
1 parent 9f43d9d commit 9b7bf1e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "enhancement",
3+
"category": "macOS",
4+
"description": "Added explicit architecture support in PKG installer for universal builds on Macs to prevent Rosetta requirement prompt."
5+
}

macpkg/distribution.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
]]>
1919
</script>
2020
<domains enable_anywhere="true" enable_currentUserHome="true" enable_localSystem="true" />
21-
<options customize="always" require-scripts="false" />
21+
<options customize="always" require-scripts="false" hostArchitectures="x86_64,arm64" />
2222
<choices-outline>
2323
<line choice="default"/>
2424
</choices-outline>

0 commit comments

Comments
 (0)