Browse Source

Specify arm64 support in mac package (#12316)

This should resolve an error where arm64 mac users cannot install haxe
without rosetta, despite haxe having full native arm64 support.

See: https://developer.apple.com/forums/thread/667672
tobil4sk 1 tuần trước cách đây
mục cha
commit
825c856118
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      extra/mac-installer/pkg/Distribution

+ 1 - 1
extra/mac-installer/pkg/Distribution

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <installer-script minSpecVersion="1.000000" authoringTool="com.apple.PackageMaker" authoringToolVersion="3.0.6" authoringToolBuild="201">
     <title>Haxe Toolkit %%VERLONG%%</title>
-    <options customize="never" allow-external-scripts="no"/>
+    <options customize="never" allow-external-scripts="no" hostArchitectures="x86_64,arm64" />
     <domains enable_localSystem="true"/>
     <background file="background" alignment="bottomleft" scaling="none"/>
     <license file="License"/>