From e4ef33a5f6d210c5db0f0901f1cb0b167eb81561 Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Sun, 21 Feb 2021 16:09:46 -0700 Subject: [PATCH] Added Rosetta to development tools install script Necessary for Apple Silicon machines -- at least for the time being -- in order to translate Intel based programs that are not ready to run natively of Silicon hardware yet. --- bin/install_dev_tools | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/install_dev_tools b/bin/install_dev_tools index 6c84f80..b17b655 100755 --- a/bin/install_dev_tools +++ b/bin/install_dev_tools @@ -11,3 +11,7 @@ if [[ "$xcode_response" != "y" ]]; then printf "ERROR: Xcode CLI tools must be installed before proceeding.\n" exit 1 fi + +if [[ -n "$(get_cpu)" ]]; then + softwareupdate --install-rosetta +fi