View Single Post
Old 08-18-2024, 02:40 AM   #11
neil_swann80
0000000000101010
neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.
 
neil_swann80's Avatar
 
Posts: 5,891
Karma: 12981955
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Try using this custom version of /mnt/ext1/system/bin/koreader.app:
Code:
#!/bin/sh
openWith="/mnt/ext1/system/config/handlers.cfg"
if ! grep -q "$1" $openWith; then ebookDir=$(dirname "$1"); fi
if [ "$ebookDir" == "/mnt/ext1/Digital Editions" ]; then
  echo "${1}:eink-reader.app" >> $openWith
  exec /ebrmain/cramfs/bin/eink-reader.app "$1"
else exec /mnt/ext1/applications/koreader.app "$@"; fi

Last edited by neil_swann80; 03-23-2025 at 01:20 AM.
neil_swann80 is offline   Reply With Quote