From 35423e1c1a459da9576f63be2f0fe64e7626c2f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=88=9A=28noham=29=C2=B2?= <100566912+NohamR@users.noreply.github.com> Date: Sun, 10 May 2026 16:30:04 +0200 Subject: [PATCH] Update auto-install.sh --- scripts/auto-install.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/scripts/auto-install.sh b/scripts/auto-install.sh index 02261b2..93f495b 100755 --- a/scripts/auto-install.sh +++ b/scripts/auto-install.sh @@ -3,21 +3,26 @@ REPO="NohamR/RMHook" FILE="rmfakecloud.dylib" APP_PATH="/Applications/remarkable.app" -curl -L \ +echo "[INFO] Downloading $FILE..." +curl -sL \ -o "/tmp/$FILE" \ "https://github.com/$REPO/releases/latest/download/$FILE" # Fix the sandbox -ln -s ~/Library/Containers/com.remarkable.desktop/Data/Library/Application\ Support/remarkable \ +echo "[INFO] Linking sandbox directory..." +ln -sf ~/Library/Containers/com.remarkable.desktop/Data/Library/Application\ Support/remarkable \ ~/Library/Application\ Support/remarkable -curl -L \ +echo "[INFO] Downloading inject script..." +curl -sL \ -o "/tmp/inject.sh" \ "https://raw.githubusercontent.com/$REPO/refs/heads/main/scripts/inject.sh" -curl -L \ +echo "[INFO] Downloading optool..." +curl -sL \ -o "/tmp/optool" \ "https://raw.githubusercontent.com/$REPO/refs/heads/main/scripts/optool" -chmod +x /tmp/inject.sh +chmod +x /tmp/inject.sh /tmp/optool +echo "[INFO] Running inject script..." /tmp/inject.sh "/tmp/$FILE" "$APP_PATH" \ No newline at end of file