mirror of https://github.com/espruino/BangleApps
rename the app to have a 7character name & fix issue with saving
parent
d0dd4b13af
commit
82feb3b7c1
12
apps.json
12
apps.json
|
@ -825,17 +825,17 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "groceries",
|
"id": "grocery",
|
||||||
"name": "Groceries",
|
"name": "Grocery",
|
||||||
"icon": "groceries.png",
|
"icon": "grocery.png",
|
||||||
"version":"0.01",
|
"version":"0.01",
|
||||||
"description": "Simple grocery list - Display a list of product and track if you already put them in your cart.",
|
"description": "Simple grocery list - Display a list of product and track if you already put them in your cart.",
|
||||||
"tags": "tool,outdoors",
|
"tags": "tool,outdoors",
|
||||||
"type": "app",
|
"type": "app",
|
||||||
"custom":"groceries.html",
|
"custom":"grocery.html",
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":"groceries.json"},
|
{"name":"grocery"},
|
||||||
{"name":"groceries.app.js"}
|
{"name":"grocery.app.js"}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -111,7 +111,7 @@
|
||||||
var newTime = ${Date.now()}
|
var newTime = ${Date.now()}
|
||||||
var products = ${JSON.stringify(products)}
|
var products = ${JSON.stringify(products)}
|
||||||
var newTime = newTime;
|
var newTime = newTime;
|
||||||
var filename = 'groceries.json';
|
var filename = 'grocery';
|
||||||
var settings = require("Storage").readJSON(filename,1)|| null;
|
var settings = require("Storage").readJSON(filename,1)|| null;
|
||||||
function getSettings(){
|
function getSettings(){
|
||||||
return {
|
return {
|
||||||
|
@ -152,9 +152,9 @@ E.showMenu(mainMenu);
|
||||||
var icon = `require("heatshrink").decompress(atob("mEwxH+AH4A/AH4AQ0QACF1nGAAIxpFoYwqFwwwnRggwGB4eFAggACLzwHCMAeF1WGAgOGw2x2IGCLzYGEF4YpBwotCFwJfWFwo1GSAYtBAIIABRq4vFMhAwBzoAFdzIuKAAOc4IAGGC4qEMZOiF44wXFxovleBYvIGCwmB0WjE4V/AgfG1IvCzujFQOjwoECF6WFwovBDYOFEwN/AgIwCAgOFBwYrBBAQEBzodCF6AAHww1CBpIODAAYvRDAWG2IEBAYYJFBxICCF6Ox1WxAAQfBAYQlCAAIOJAQIvUADQvn1WGR4RfbP4gAFBwgFCF7a5EdwQADF46/cL9wAQF94AGF85bB1TvmF47vdJ4bvFF8qPRFgLv/L7jPCaQq/fYYrvgJgoAGd/7v/F/4v/F5oAdF54weFyAA/AH4A3A="))`;
|
var icon = `require("heatshrink").decompress(atob("mEwxH+AH4A/AH4AQ0QACF1nGAAIxpFoYwqFwwwnRggwGB4eFAggACLzwHCMAeF1WGAgOGw2x2IGCLzYGEF4YpBwotCFwJfWFwo1GSAYtBAIIABRq4vFMhAwBzoAFdzIuKAAOc4IAGGC4qEMZOiF44wXFxovleBYvIGCwmB0WjE4V/AgfG1IvCzujFQOjwoECF6WFwovBDYOFEwN/AgIwCAgOFBwYrBBAQEBzodCF6AAHww1CBpIODAAYvRDAWG2IEBAYYJFBxICCF6Ox1WxAAQfBAYQlCAAIOJAQIvUADQvn1WGR4RfbP4gAFBwgFCF7a5EdwQADF46/cL9wAQF94AGF85bB1TvmF47vdJ4bvFF8qPRFgLv/L7jPCaQq/fYYrvgJgoAGd/7v/F/4v/F5oAdF54weFyAA/AH4A3A="))`;
|
||||||
sendCustomizedApp({
|
sendCustomizedApp({
|
||||||
storage:[
|
storage:[
|
||||||
{name:"groceries.app.js", content:app},
|
{name:"grocery.app.js", content:app},
|
||||||
{name:"groceries.img", content:icon, evaluate:true},
|
{name:"grocery.img", content:icon, evaluate:true},
|
||||||
{name:"groceries.json"}
|
{name:"grocery"}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
});
|
});
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Loading…
Reference in New Issue