mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
[macOS] Fix launcher code in case with 'sysctl.proc_translated' returning empty (#1598)
This commit is contained in:
parent
cf881d7d25
commit
ac1a87730e
@ -67,7 +67,7 @@ done
|
||||
|
||||
arch_name="$(uname -m)"
|
||||
launch_arch="arm64"
|
||||
if [ "${arch_name}" = "x86_64" ] && [ "$(sysctl -in sysctl.proc_translated)" = "0" ]; then
|
||||
if [ "${arch_name}" = "x86_64" ] && [ "$(sysctl -in sysctl.proc_translated)" != "1" ]; then
|
||||
launch_arch="x86_64"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user