From b689a3abc0b92c3392b314fc0de0677856b73d17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D7=A8=D7=98=D7=95=5C=D7=A8=D7=A2=D7=98=D7=90=D6=B8=5C?= =?UTF-8?q?=D7=A8=D6=B5=D7=99=D7=98=D7=95=D6=B9=20=E2=80=A2=20Reto?= Date: Sat, 29 Nov 2025 11:54:51 +0100 Subject: [PATCH] macOS on AArch64 --- cable-bible | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cable-bible b/cable-bible index ac89b87..bda21fe 100644 --- a/cable-bible +++ b/cable-bible @@ -6,6 +6,8 @@ if [[ "$(uname -s)" = "Darwin" ]] ; then if ping -c 1 amiaopensource.github.io >/dev/null 2>&1 ; then cablebible_path='https://amiaopensource.github.io/cable-bible/' + elif [[ "$(uname -m)" = "arm64" ]] ; then + cablebible_path=$(find /opt/homebrew/Cellar/cable-bible -iname 'index.html' | sort -M | tail -n1) else cablebible_path=$(find /usr/local/Cellar/cable-bible -iname 'index.html' | sort -M | tail -n1) fi