Quote:
Originally Posted by EastEriq
I could from now on take the habit of copying the acsms and only them in a specific dir rather than all over the place according to some other criterium of mine. But still, how could the extensions.cfg mechanism discriminate by dir?
|
We could leave
extensions.cfg as-is, the default for epubs remaining as Koreader. But we could run a check for the directory the epub is in and (if the check matches the dedicated directory) create a entry for that specific epub in
handlers.cfg with PBReader as the default.
I was thinking a few lines of code at the start of the koreader launcher file in
/mnt/ext1/system/bin/koreader.app may suffice.
Run the check, if the check matches the dedicated directory we write to handlers.cfg and exit without launching koreader. You'd then have to click on the book a second time for it to launch with PBreader. If the check does not match the dedicated directory, no writing to handlers.cfg and Koreader launches the epub as usual.