espruino / BangleApps

Bangle.js App Loader (and Apps)
https://banglejs.com/apps
MIT License
478 stars 1.14k forks source link

Special Chars for "id": "aclock" #23

Closed MaBecker closed 4 years ago

MaBecker commented 4 years ago

just stumbled over special chars in the app name aclock.

require('Storage').list() =[ ".bootcde", "+aclo\xEB\xEF%", <---- guess some hidden chars in app.json "-aclock", "aclock", "+sbat", ... "+setting", "-setting", "=setting", "@setting", "setting" ]

MaBecker commented 4 years ago

Some more Infos:

gfwilliams commented 4 years ago

Have you tried reloading? I just looked in apps.json and there is nothing wrong there, so it could be there's some strange glitch. Could actually be because you've installed a new firmware over an old one. I'd be interested to see whether this ever happens again after a Storage.eraseAll

MaBecker commented 4 years ago

Thanks, yes might be just did a extra eraseAll with Banglejs.com - About - Remove all Apps.

require('Storage').list() =[ ]

so lets close it and reopen if it happens again