Skip to content

Commit a3e8728

Browse files
authored
Merge pull request #126 from alexfornuto/vellum
Support Vellum's Install Directory
2 parents 2be7734 + a328a6d commit a3e8728

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎reStream.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ if ! lz4 -V >/dev/null; then
247247
fi
248248

249249
# check if restream binay is present on remarkable
250-
if ssh_cmd "[ ! -f ~/restream ] && [ ! -f /opt/bin/restream ]"; then
250+
if ssh_cmd "[ ! -f ~/restream ] && [ ! -f /opt/bin/restream ] && [ ! -f /home/root/.vellum/bin/restream ]"; then
251251
echo "The restream binary is not installed on your reMarkable."
252252
echo "Please install it using the instruction in the README:"
253253
echo "https://github.com/rien/reStream/#installation"
@@ -318,7 +318,7 @@ if "$cursor"; then
318318
fi
319319

320320
# shellcheck disable=SC2089
321-
restream_rs="PATH=\"\$PATH:/opt/bin/:.\" restream $restream_options"
321+
restream_rs="PATH=\"\$PATH:/opt/bin/:/home/root/.vellum/bin:.\" restream $restream_options"
322322
if $unsecure_connection; then
323323
listen_port=16789
324324
ssh_cmd "$restream_rs --listen $listen_port" &

0 commit comments

Comments
 (0)