mirror of
https://github.com/NohamR/RMHook.git
synced 2025-11-23 10:59:40 +00:00
Update README and inject.sh for compatibility and ownership
Added compatibility information for reMarkable Desktop v3.23.0 and included a new screenshot in the README. Moved the ownership change step earlier in scripts/inject.sh to ensure correct permissions before code signing.
This commit is contained in:
parent
55c41e78bf
commit
18abae42b7
@ -11,6 +11,13 @@ RMHook hooks into the reMarkable Desktop app's network layer to redirect API cal
|
||||
- Network request interception and redirection
|
||||
- WebSocket connection patching
|
||||
|
||||
## Compatibility
|
||||
|
||||
**Tested and working on:**
|
||||
- reMarkable Desktop v3.23.0 (released 2025-11-05)
|
||||
|
||||

|
||||
|
||||
## Installation and usage
|
||||
|
||||
### Important legal notice
|
||||
@ -66,6 +73,7 @@ mv ~/Library/Containers/com.remarkable.desktop/Data/Library/Application\ Support
|
||||
### Step 4: Configure rmfakecloud server
|
||||
Quickly access the configuration file from the app's Help menu:
|
||||

|
||||
|
||||
Edit the configuration file at:
|
||||
```
|
||||
~/Library/Preferences/rmfakecloud.config
|
||||
|
||||
BIN
docs/latest.png
Normal file
BIN
docs/latest.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 225 KiB |
@ -45,6 +45,12 @@ fi
|
||||
|
||||
echo "[INFO] Executable name: $APP_NAME"
|
||||
|
||||
# Change ownership to current user
|
||||
CURRENT_USER=$(whoami)
|
||||
CURRENT_GROUP=$(id -gn)
|
||||
echo "Changing ownership to $CURRENT_USER:$CURRENT_GROUP for $APP_PATH ..."
|
||||
sudo chown -R "$CURRENT_USER:$CURRENT_GROUP" "$APP_PATH"
|
||||
|
||||
EXECUTABLE_PATH="$APP_PATH/Contents/MacOS/$APP_NAME"
|
||||
if [ ! -f "$EXECUTABLE_PATH" ]; then
|
||||
echo "[ERROR] The specified executable ($EXECUTABLE_PATH) does not exist."
|
||||
@ -67,12 +73,6 @@ sudo xattr -cr "$EXECUTABLE_PATH"
|
||||
|
||||
echo "Signed successfully."
|
||||
|
||||
# Change ownership to current user
|
||||
CURRENT_USER=$(whoami)
|
||||
CURRENT_GROUP=$(id -gn)
|
||||
echo "Changing ownership to $CURRENT_USER:$CURRENT_GROUP for $APP_PATH ..."
|
||||
sudo chown -R "$CURRENT_USER:$CURRENT_GROUP" "$APP_PATH"
|
||||
|
||||
# Remove _MASReceipt if it exists
|
||||
RECEIPT_PATH="$APP_PATH/Contents/_MASReceipt"
|
||||
if [ -d "$RECEIPT_PATH" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user