mirror of
https://github.com/NohamR/RMHook.git
synced 2025-11-23 10:59:40 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18abae42b7 | ||
|
|
55c41e78bf |
@ -11,6 +11,13 @@ RMHook hooks into the reMarkable Desktop app's network layer to redirect API cal
|
|||||||
- Network request interception and redirection
|
- Network request interception and redirection
|
||||||
- WebSocket connection patching
|
- WebSocket connection patching
|
||||||
|
|
||||||
|
## Compatibility
|
||||||
|
|
||||||
|
**Tested and working on:**
|
||||||
|
- reMarkable Desktop v3.23.0 (released 2025-11-05)
|
||||||
|
|
||||||
|

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

|

|
||||||
|
|
||||||
Edit the configuration file at:
|
Edit the configuration file at:
|
||||||
```
|
```
|
||||||
~/Library/Preferences/rmfakecloud.config
|
~/Library/Preferences/rmfakecloud.config
|
||||||
@ -110,6 +118,7 @@ If the config file doesn't exist, it will be created automatically with default
|
|||||||
- Verify the storage path migration was completed
|
- Verify the storage path migration was completed
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
- **xovi-rmfakecloud**: [asivery/xovi-rmfakecloud](https://github.com/asivery/xovi-rmfakecloud) - Original hooking information
|
||||||
- **tinyhook**: [Antibioticss/tinyhook](https://github.com/Antibioticss/tinyhook/) - Function hooking framework
|
- **tinyhook**: [Antibioticss/tinyhook](https://github.com/Antibioticss/tinyhook/) - Function hooking framework
|
||||||
- **rmfakecloud**: [ddvk/rmfakecloud](https://github.com/ddvk/rmfakecloud) - Self-hosted reMarkable cloud
|
- **rmfakecloud**: [ddvk/rmfakecloud](https://github.com/ddvk/rmfakecloud) - Self-hosted reMarkable cloud
|
||||||
- **optool**: [alexzielenski/optool](https://github.com/alexzielenski/optool) - Mach-O binary modification tool
|
- **optool**: [alexzielenski/optool](https://github.com/alexzielenski/optool) - Mach-O binary modification tool
|
||||||
|
|||||||
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"
|
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"
|
EXECUTABLE_PATH="$APP_PATH/Contents/MacOS/$APP_NAME"
|
||||||
if [ ! -f "$EXECUTABLE_PATH" ]; then
|
if [ ! -f "$EXECUTABLE_PATH" ]; then
|
||||||
echo "[ERROR] The specified executable ($EXECUTABLE_PATH) does not exist."
|
echo "[ERROR] The specified executable ($EXECUTABLE_PATH) does not exist."
|
||||||
@ -67,12 +73,6 @@ sudo xattr -cr "$EXECUTABLE_PATH"
|
|||||||
|
|
||||||
echo "Signed successfully."
|
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
|
# Remove _MASReceipt if it exists
|
||||||
RECEIPT_PATH="$APP_PATH/Contents/_MASReceipt"
|
RECEIPT_PATH="$APP_PATH/Contents/_MASReceipt"
|
||||||
if [ -d "$RECEIPT_PATH" ]; then
|
if [ -d "$RECEIPT_PATH" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user