mirror of
https://github.com/NohamR/RMHook.git
synced 2026-05-24 19:59:44 +00:00
Update auto-install.sh
This commit is contained in:
@@ -3,21 +3,26 @@ REPO="NohamR/RMHook"
|
|||||||
FILE="rmfakecloud.dylib"
|
FILE="rmfakecloud.dylib"
|
||||||
APP_PATH="/Applications/remarkable.app"
|
APP_PATH="/Applications/remarkable.app"
|
||||||
|
|
||||||
curl -L \
|
echo "[INFO] Downloading $FILE..."
|
||||||
|
curl -sL \
|
||||||
-o "/tmp/$FILE" \
|
-o "/tmp/$FILE" \
|
||||||
"https://github.com/$REPO/releases/latest/download/$FILE"
|
"https://github.com/$REPO/releases/latest/download/$FILE"
|
||||||
|
|
||||||
# Fix the sandbox
|
# 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
|
~/Library/Application\ Support/remarkable
|
||||||
|
|
||||||
curl -L \
|
echo "[INFO] Downloading inject script..."
|
||||||
|
curl -sL \
|
||||||
-o "/tmp/inject.sh" \
|
-o "/tmp/inject.sh" \
|
||||||
"https://raw.githubusercontent.com/$REPO/refs/heads/main/scripts/inject.sh"
|
"https://raw.githubusercontent.com/$REPO/refs/heads/main/scripts/inject.sh"
|
||||||
|
|
||||||
curl -L \
|
echo "[INFO] Downloading optool..."
|
||||||
|
curl -sL \
|
||||||
-o "/tmp/optool" \
|
-o "/tmp/optool" \
|
||||||
"https://raw.githubusercontent.com/$REPO/refs/heads/main/scripts/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"
|
/tmp/inject.sh "/tmp/$FILE" "$APP_PATH"
|
||||||
Reference in New Issue
Block a user