Every installed Lua app drew the same generic play glyph in the drawer, and the manifest's "icon" -- promised in LUA_APPS.md since the plan was written -- was never parsed. It is now read from <id>.json and mapped to a glyph by NAME (gps / radio / chart / game / ...), not by codepoint: a name is reviewable in a store submission, the device's JSON scanner only takes quoted strings anyway, and an app can never ship a glyph the UI fonts lack -- anything unrecognised falls back to the generic symbol. A bare side-loaded .lua has no manifest and keeps that symbol too. GPS Compass declares "icon":"gps", so it now shows the location pin the Map tile uses. Also corrected deploy/site/sdk.html, whose manifest table documented "version", "min_api", "description" and "boards" -- the device has never parsed any of them -- and described icon as "a single character". Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2 lines
147 B
JSON
2 lines
147 B
JSON
{"id":"gpscompass","name":"GPS Compass","ver":"1.0","desc":"Compass rose: magnetometer or GPS course, live fix, bearing to contacts","icon":"gps"}
|