mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Use com.apple.oahd.plist for rosetta 2 detection
This commit is contained in:
parent
addf9f4ede
commit
692549c542
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ case "$(uname -s).$(uname -m)" in
|
|||
;;
|
||||
Darwin.arm64|Darwin.aarch64)
|
||||
# check for Rosetta 2 support
|
||||
if ! [ -d /Library/Apple/usr/libexec/oah ]; then
|
||||
if ! [ -f /Library/Apple/System/Library/LaunchDaemons/com.apple.oahd.plist ]; then
|
||||
oops "Rosetta 2 is not installed on this ARM64 macOS machine. Run softwareupdate --install-rosetta then restart installation"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue