Expand description
Passive “new version available” check.
At startup, atomcode GETs latest.json (the same manifest /upgrade
consumes) and, if the advertised version is strictly newer than what’s
compiled in, surfaces a right-aligned hint on the input-box status
row. Any error (network, parse, non-matching format) silently returns
None — this feature must never be noisy.
Functions§
- check_
latest - Fetch
latest.jsonand, if newer thancurrent, return the advertised version. Short timeout keeps startup snappy; any error (network, HTTP, parse) returnsNonesilently. - parse_
and_ compare - Compare a
latest.jsonbody against the current compiled-in version.