Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
(probably) install rosetta if it's not there
Conrad Irwinad537f638ccf
diff --git a/script/squawk b/script/squawkindex 68977645d06..cb3a76bf51e 100755--- a/script/squawk+++ b/script/squawk@@ -16,6 +16,7 @@ SQUAWK_BIN="./target/squawk-$SQUAWK_VERSION"SQUAWK_ARGS="--assume-in-transaction --config script/lib/squawk.toml"if [ ! -f "$SQUAWK_BIN" ]; then+ pkgutil --pkg-info com.apple.pkg.RosettaUpdateAuto || /usr/sbin/softwareupdate --install-rosetta --agree-to-licensecurl -L -o "$SQUAWK_BIN" "https://github.com/sbdchd/squawk/releases/download/v$SQUAWK_VERSION/squawk-darwin-x86_64"chmod +x "$SQUAWK_BIN"fi