mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-21 05:01:53 -05:00
[macOS] Force native architecture to launch (#1554)
This commit is contained in:
parent
00fb12134a
commit
fde05e65c0
@ -65,5 +65,11 @@ while [ ! -e "$DATA_SHARE/oot.otr" ]; do
|
|||||||
break
|
break
|
||||||
done
|
done
|
||||||
|
|
||||||
"$RESPATH"/soh-macos
|
arch_name="$(uname -m)"
|
||||||
|
launch_arch="arm64"
|
||||||
|
if [ "${arch_name}" = "x86_64" ] && [ "$(sysctl -in sysctl.proc_translated)" = "0" ]; then
|
||||||
|
launch_arch="x86_64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
arch -${launch_arch} "$RESPATH"/soh-macos
|
||||||
exit
|
exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user