From b6bf19edfdefeadc05e41417975aa5d67b34868d Mon Sep 17 00:00:00 2001 From: Daneel Date: Tue, 24 Feb 2026 20:45:09 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20patch=20path=20relativn=C3=AD=20ke=20skr?= =?UTF-8?q?iptu=20(scripts/../patches/)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install_emacs_macos.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install_emacs_macos.sh b/scripts/install_emacs_macos.sh index b261fa8..0e48001 100755 --- a/scripts/install_emacs_macos.sh +++ b/scripts/install_emacs_macos.sh @@ -43,7 +43,8 @@ fi # --- [3/7] Zoom accessibility patch --- echo -e "${GREEN}[3/7] Zoom accessibility patch...${NC}" -PATCH_FILE=~/.config/doom/patches/0001-ns-implement-AXBoundsForRange-for-macOS-Zoom-cursor-.patch +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +PATCH_FILE="${SCRIPT_DIR}/../patches/0001-ns-implement-AXBoundsForRange-for-macOS-Zoom-cursor-.patch" cd ~/src/emacs if grep -q UAZoomChangeFocus src/nsterm.m 2>/dev/null; then echo " Patch already applied, skipping"