mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-22 08:08:53 -05: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
@ -33,5 +33,10 @@
|
||||
<string>public.app-category.games</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.15</string>
|
||||
<key>LSArchitecturePriority</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>x86_64</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
@ -248,11 +248,6 @@ fi
|
||||
|
||||
cd "$SNAME"
|
||||
|
||||
arch_name="$(uname -m)"
|
||||
launch_arch="arm64"
|
||||
if [ "${arch_name}" = "x86_64" ] && [ "$(sysctl -in sysctl.proc_translated)" != "1" ]; then
|
||||
launch_arch="x86_64"
|
||||
fi
|
||||
"$RESPATH"/soh-macos
|
||||
|
||||
arch -${launch_arch} "$RESPATH"/soh-macos
|
||||
exit
|
||||
|
Loading…
Reference in New Issue
Block a user