mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
(probably) install rosetta if it's not there
This commit is contained in:
parent
f8604e88ef
commit
ad537f638c
1 changed files with 1 additions and 0 deletions
|
@ -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-license
|
||||
curl -L -o "$SQUAWK_BIN" "https://github.com/sbdchd/squawk/releases/download/v$SQUAWK_VERSION/squawk-darwin-x86_64"
|
||||
chmod +x "$SQUAWK_BIN"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue