Here you go! Both the issues should be gone now... please test if the new version is ok!
1) The topbar did disappear because after removing it I assumed that koreader was installed and so that it would put it back when closed (in fact, it would have been true if the Koreader icons was properly hidden).
How did I fix it:
I added this line to
koreader_launcher.sh:
Code:
lipc-set-prop com.lab126.pillow disableEnablePillow enable
2) The Koreader and Midori icons did show even if they were not installed because the clean-launcher script was executed before the menu was fully loaded (to soon). To fix it, I've dropped the code:
Code:
/mnt/us/extensions/kindlemenu/bin/sh/clean_launchers.sh &
in kindlemenu.sh, in favour of the following in the onload script in
kindlemenupage.html:
Code:
nativeBridge.setLipcProperty("com.lab126.system", "sendEvent", "; sh -c '/mnt/us/extensions/kindlemenu/bin/sh/clean_launchers.sh &'");
Let me know if it is everything ok now! And thanks again for reporting, it was a quite annoying bug for users