One could even think about moving the restrictedapplist.json evaluation alternatively into the loader code
That's a nice idea. I'll leave that for someone else, but we have a (semi-custom) loader.js file.
Perhaps index.js could check for the existence of Const.ONLY_APPS = ["launch","boot","foo","bar"] and could then ignore apps.json and load manually. Sounds like a really neat solution
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That's a nice idea. I'll leave that for someone else, but we have a (semi-custom)
loader.js
file.Perhaps
index.js
could check for the existence ofConst.ONLY_APPS = ["launch","boot","foo","bar"]
and could then ignore apps.json and load manually. Sounds like a really neat solution