I think I found it:
[root@kobo koreader]# cat /mnt/onboard/.adds/koreader/plugins/terminal.koplugin/main.lua | grep ENV
C.setenv("ENV", "./plugins/terminal.koplugin/profile", 1)
C.setenv("BASH_ENV", "./plugins/terminal.koplugin/profile", 1)
[root@kobo koreader]# cat /mnt/onboard/.adds/koreader/plugins/terminal.koplugin/profile | grep PATH
PATH="${PATH}:${TERMINAL_DATA}/scripts:${TERMINAL_HOME}/plugins/terminal.koplugin/"
export PATH
Man it is really great how readable KOReader code is.
I already appreciated how it ran on all my different architectures and platforms.
And ran well, and without issues, for me anyway.
Sometimes on slow or quirky platforms.
So many features but without the despised bloat of modern software.
Under free and open license.
Now I look at the code and it is so clean and well commented.
My country and planet are on the road to hell, but KOReader almost brings a tear to my eye!
|