diff --git a/apps.json b/apps.json index 8e1679ebd..2110078f6 100644 --- a/apps.json +++ b/apps.json @@ -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", diff --git a/apps/grocery/grocery-icon.js b/apps/grocery/grocery-icon.js new file mode 100644 index 000000000..949b0e45b --- /dev/null +++ b/apps/grocery/grocery-icon.js @@ -0,0 +1 @@ +require("heatshrink").decompress(atob("mEwwhC/AFEEolAC6lN7vdDCcECwPd6guVGCYuDC4cCBQMikQXQJAMjkECmcyIx4XDmUjmYvLC4XUDARHBIoIWLgATCGQdA7tEonQC5ouDDYg0BOxgSEAggwKRwgUCC6ZIDSwoXNogWDDgNCAgIWIkUEoUk6kiCgMkokipsiBIQXIki2CAgNCAoYADC5Eic4Mic4ICCAIIJCC5MzAAcykYGEAAIXOABAXTmUzGoIXVAIIXLB4SICDIovjO76PZbYR3PDI4XiI6530MIh3SC6R33C/oAOC48CCxsgC44A/ADY=")) diff --git a/apps/swatch/ChangeLog b/apps/swatch/ChangeLog index d907766c1..86a782585 100644 --- a/apps/swatch/ChangeLog +++ b/apps/swatch/ChangeLog @@ -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 diff --git a/bin/sanitycheck.js b/bin/sanitycheck.js index d911a20d6..d55bba4c8 100755 --- a/bin/sanitycheck.js +++ b/bin/sanitycheck.js @@ -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`);