This seems to have been a bit of a sore point, but I know a few people have complained about having to edit the large apps.json file to add their app, and instead wanted a single metadata.json file inside their app's folder that contained all the info about their app.
There was some discussion on https://github.com/espruino/BangleApps/issues/46 and https://github.com/espruino/BangleApps/issues/1020 with the reasoning either way.
I've been a bit on the fence about this as it increases complexity, but adamschmalhofer on GitHub has come up with quite a neat solution with: https://github.com/espruino/BangleApps/pull/1221
Basically it uses jekyll (which GitHub pages uses behind the scenes) to ensure that any time the app loader is published on GitHub Pages, apps.json is automatically created from the separate files.
What does everyone think about this? I'm inclined to do it, but it is a step away from the complete simplicity of the current app loader.
© Espruino, powered by microcosm.
Report a problem