About app: Update version checker for new filename type

pull/191/head
Gordon Williams 2020-03-02 17:16:51 +00:00
parent e755d64cc1
commit 9a63beefb8
3 changed files with 5 additions and 4 deletions

View File

@ -28,7 +28,7 @@
{ "id": "about",
"name": "About",
"icon": "app.png",
"version":"0.01",
"version":"0.02",
"description": "Bangle.js About page - showing software version, stats, and a collaborative mural from the Bangle.js KickStarter backers",
"tags": "tool,system",
"allow_emulator":true,

View File

@ -1 +1,2 @@
0.01: New App!
0.02: Update version checker for new filename type

View File

@ -15,9 +15,9 @@ function getVersion(name,file) {
var v = ("object"==typeof j)?j.version:false;
g.drawString(v?(name+" "+(v?"v"+v:"Unknown")):"NO "+name,0,y+=h);
}
getVersion("Bootloader","+boot");
getVersion("Launcher","+launch");
getVersion("Settings","+setting");
getVersion("Bootloader","boot.info");
getVersion("Launcher","launch.info");
getVersion("Settings","setting.info");
y+=h;
g.drawString(MEM.total+" JS Variables available",0,y+=h);