Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions host/repush.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ function create_placeholder_pdf {

# $1 - Output directory
function create_placeholder_epub {

echo "$(cat <<- 'EOF'
cat << 'EOF' | xxd -r > "$1"
00000000: 504b 0304 1400 1608 0000 a173 b74e 6f61 PK.........s.Noa
00000010: ab2c 1400 0000 1400 0000 0800 0000 6d69 .,............mi
00000020: 6d65 7479 7065 6170 706c 6963 6174 696f metypeapplicatio
Expand Down Expand Up @@ -196,8 +195,6 @@ echo "$(cat <<- 'EOF'
000007a0: 732e 7478 7450 4b05 0600 0000 0006 0006 s.txtPK.........
000007b0: 006c 0100 0039 0600 0000 00 .l...9.....
EOF
)" | xxd -r > "$1"

}

# Grep remote fs (grep on reMarkable)
Expand Down
4 changes: 1 addition & 3 deletions host/webui_invincibility.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function usage {
}

function patch_xochitl {
echo "$(cat <<- 'EOF'
cat << 'EOF' | xxd -r > "/tmp/webui_invincibility.patch"
00000000: 4253 4449 4646 3430 3a00 0000 0000 0000 BSDIFF40:.......
00000010: 3a00 0000 0000 0000 c437 4200 0000 0000 :........7B.....
00000020: 425a 6839 3141 5926 5359 e208 05e2 0000 BZh91AY&SY......
Expand All @@ -113,8 +113,6 @@ echo "$(cat <<- 'EOF'
00000090: 9098 6eec 425a 6839 1772 4538 5090 0000 ..n.BZh9.rE8P...
000000a0: 0000 ..
EOF
)" | xxd -r > "/tmp/webui_invincibility.patch"

if [ ! -f "/tmp/webui_invincibility.patch" ]; then
echo "webui_invincibility: Failed to create patchfile!"
return 1
Expand Down