View Single Post
Old 09-19-2019, 07:36 AM   #6
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,762
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by frostschutz View Post
I tested it on my H2O and it works, so thanks for that.
No problem!

Quote:
Not a huge fan of LD_PRELOAD (avoided using it in any of my mods so far). Much less a system-wide one. Ugh.
I wasn't either, but it ended up being the cleanest option of what I tried. But, that's why I added the check to ensure it's running in nickel.

Also, I just had an idea. Do you think it might be better if instead of checking /proc/self/exe, I checked if libnickel was loaded in the current process (the only disadvantage I see is a potential race condition, but the advantage is is will certainly run on anything which cares about book locations, and nothing else)?

Quote:
Kobo, what the heck. Why you cracking down on the modder community now. This change is so nonsensical. Hope they will reconsider...
I doubt Kobo is cracking down on the mods, but maybe "Kobo recommends Windows" (like the computer manufacturers)? It breaks Trash on Linux and macOS.

P.S. I've also decided to split the Makefile into a.Kobo and native one, as the current Makefile looks horrible.
geek1011 is offline   Reply With Quote