mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-15 01:22:59 -07:00
[macOS] Add Architecture Priority to Info.plist (#3727)
* Add Architecture Priority to Info.plist This allows the app bundle to be launched natively on Arm without the need for Rosetta. * Remove arch shenanigans in soh-macos.sh.in Shouldn't be necessary now... * Add back launching the binary in soh-macos.sh.in Accidentally removed launching the binary from the script.
This commit is contained in:
parent
a08943edc8
commit
b7342a7847
2 changed files with 6 additions and 6 deletions
|
@ -33,5 +33,10 @@
|
||||||
<string>public.app-category.games</string>
|
<string>public.app-category.games</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>10.15</string>
|
<string>10.15</string>
|
||||||
|
<key>LSArchitecturePriority</key>
|
||||||
|
<array>
|
||||||
|
<string>arm64</string>
|
||||||
|
<string>x86_64</string>
|
||||||
|
</array>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
|
@ -248,11 +248,6 @@ fi
|
||||||
|
|
||||||
cd "$SNAME"
|
cd "$SNAME"
|
||||||
|
|
||||||
arch_name="$(uname -m)"
|
"$RESPATH"/soh-macos
|
||||||
launch_arch="arm64"
|
|
||||||
if [ "${arch_name}" = "x86_64" ] && [ "$(sysctl -in sysctl.proc_translated)" != "1" ]; then
|
|
||||||
launch_arch="x86_64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
arch -${launch_arch} "$RESPATH"/soh-macos
|
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue