Fixing sanitycheck errors from recent PRs

pull/166/head
Gordon Williams 2020-03-30 16:23:45 +01:00
parent 41cf7fbff2
commit 7ff958ad2c
4 changed files with 13 additions and 9 deletions

View File

@ -837,7 +837,7 @@
{"name":"widid.wid.js","url":"widget.js"}
]
},
{
{
"id": "grocery",
"name": "Grocery",
"icon": "grocery.png",
@ -848,13 +848,14 @@
"custom":"grocery.html",
"storage": [
{"name":"grocery"},
{"name":"grocery.app.js"}
{"name":"grocery.app.js"},
{"name":"grocery.img","url":"grocery-icon.js","evaluate":true}
]
},
{ "id": "marioclock",
"name": "Mario Clock",
"icon": "marioclock.png",
"version":"0.01",
"version":"0.02",
"description": "Animated Mario clock, jumps to change the time!",
"tags": "clock,mario,retro",
"type": "clock",

View File

@ -0,0 +1 @@
require("heatshrink").decompress(atob("mEwwhC/AFEEolAC6lN7vdDCcECwPd6guVGCYuDC4cCBQMikQXQJAMjkECmcyIx4XDmUjmYvLC4XUDARHBIoIWLgATCGQdA7tEonQC5ouDDYg0BOxgSEAggwKRwgUCC6ZIDSwoXNogWDDgNCAgIWIkUEoUk6kiCgMkokipsiBIQXIki2CAgNCAoYADC5Eic4Mic4ICCAIIJCC5MzAAcykYGEAAIXOABAXTmUzGoIXVAIIXLB4SICDIovjO76PZbYR3PDI4XiI6530MIh3SC6R33C/oAOC48CCxsgC44A/ADY="))

View File

@ -1,5 +1,5 @@
0.01 Original App
0.02 Lap log now counts up from 1
Lap log now scrolls into 2nd column after 18th entry, able to display 36 entries before going off screen
0.03 Added ability to save Lap log as a date named JSON file into memory
Fixed bug from 0.01 where BN1 (reset) could clear the lap log when timer is running
0.01: Original App
0.02: Lap log now counts up from 1
Lap log now scrolls into 2nd column after 18th entry, able to display 36 entries before going off screen
0.03: Added ability to save Lap log as a date named JSON file into memory
Fixed bug from 0.01 where BN1 (reset) could clear the lap log when timer is running

View File

@ -51,7 +51,9 @@ apps.forEach((app,addIdx) => {
if (app.version != "0.01")
WARN(`App ${app.id} has no ChangeLog`);
} else {
var versions = fs.readFileSync(appDir+"ChangeLog").toString().match(/\d+\.\d+:/g);
var changeLog = fs.readFileSync(appDir+"ChangeLog").toString();
var versions = changeLog.match(/\d+\.\d+:/g);
if (!versions) ERROR(`No versions found in ${app.id} ChangeLog (${appDir}ChangeLog)`);
var lastChangeLog = versions.pop().slice(0,-1);
if (lastChangeLog != app.version)
WARN(`App ${app.id} app version (${app.version}) and ChangeLog (${lastChangeLog}) don't agree`);