Quote:
Originally Posted by knc1
Your "Windows-Think" is showing.
These Kindles do not run Windows, they run a version of Unix (Linux in this case).
Only Windows (automatically, as part of its default search algorithm,) expects resources to be in the same directory as the executable.
Having either the current directory or the directory of the executable included in the search algorithm by default is considered a security fault.
Although *nix binaries can be created at build time that will do that as part of the default searches.
|
In kpdf.sh (which happens to be located in /mnt/us/kindlepdfviewer/):
Line 08: cd /mnt/us/kindlepdfviewer/
Line 25: ./reader.lua "$1" 2> crash.log
Alternative line 25 I had tried: /mnt/us/kindlepdfviewer/reader.lua "$1" 2> crash.log
My comment about 'in the same directory' wasn't that the script would necessarily look there, it was that I could see that the file WAS there, where the script was meant to look, even though the script didn't seem to be seeing it.
I still don't really understand why the version of KPV I have now works and the others didn't, but I can offer people hope that at least one available version solves the issue I had.