diff --git a/README.md b/README.md index 3d5ee78..a169415 100644 --- a/README.md +++ b/README.md @@ -33,5 +33,5 @@ You can install `zstd` on your host with your usual package manager. On Ubuntu, On your **reMarkable** you can do `opkg install zstd` if you have [entware](https://github.com/evidlo/remarkable_entware) installed. If you don't you can use the binary provided in this repository. In general you shouldn't trust binaries strangers on the internet provide to you, but I provide the option if you don't want the hassle of installing entware. -You can copy the binary to your remarkable with `scp zstd root@10.11.99.1:/home/root/zstd`. +You can copy the binary to your remarkable with `scp zstd.arm root@10.11.99.1:~/zstd`. diff --git a/reStream.sh b/reStream.sh index f4ff483..513c00a 100755 --- a/reStream.sh +++ b/reStream.sh @@ -28,8 +28,8 @@ fallback_to_gzip() { # check if zstd is present on remarkable if ssh "$ssh_host" "[ -f /opt/bin/zstd ]"; then compress="/opt/bin/zstd" -elif ssh "$ssh_host" "[ -f /home/root/zstd ]"; then - compress="/home/root/zstd" +elif ssh "$ssh_host" "[ -f ~/zstd ]"; then + compress="~/zstd" fi # gracefully degrade to gzip if zstd is not present on remarkable or host diff --git a/zst.arm b/zst.arm deleted file mode 100755 index c987664..0000000 Binary files a/zst.arm and /dev/null differ