Made the non-symlink path into a fallback

reviewable/pr11764/r2
sdasda7777 4 weeks ago committed by GitHub
parent b7d6d6bee5
commit 8afd925cc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -15,7 +15,7 @@ export KO_PATH_OPEN_BOOK="/tmp/.koreader.open"
INSTANCE_PID=$(cat /tmp/koreader.pid 2>/dev/null)
if [ "${INSTANCE_PID}" != "" ] && [ -e "/proc/${INSTANCE_PID}" ]; then
echo "$@" >"${KO_PATH_OPEN_BOOK}"
exec /ebrmain/bin/iv2sh SetActiveTask "${INSTANCE_PID}" 0
exec $(if [ -f "/usr/bin/iv2sh" ]; then echo /usr/bin/iv2sh; else /ebrmain/bin/iv2sh; fi) SetActiveTask "${INSTANCE_PID}" 0
fi
# try to bring in raw device input (on rooted devices)

Loading…
Cancel
Save