Install the Intel binary, not the Apple Silicon one
- ID
3f8f0c0- date
2022-05-01 18:54:40+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
fa17795- message
Install the Intel binary, not the Apple Silicon one It would be nice if I could detect ARM/Intel and install the right version appropriately, but I don't own any ARM Macs so I can't test it.- changed files
1 file, 1 addition, 1 deletion
Changed files
install-fzf (704) → install-fzf (704)
diff --git a/install-fzf b/install-fzf
index 39ef814..58b93bf 100755
--- a/install-fzf
+++ b/install-fzf
@@ -10,7 +10,7 @@ set -o errexit
set -o nounset
DOWNLOAD_URL=$(curl --silent 'https://api.github.com/repos/junegunn/fzf/releases/latest' \
- | jq -r ' .assets | map(.browser_download_url) | map(select(test(".*darwin_arm64.*")))[0]'
+ | jq -r ' .assets | map(.browser_download_url) | map(select(test(".*darwin_amd64.*")))[0]'
)
cd $(mktemp -d)