mirror of https://github.com/espruino/BangleApps
tidying custom apps
parent
620cdc1de1
commit
39b7569d8d
|
@ -558,14 +558,14 @@
|
|||
},
|
||||
{ "id": "route",
|
||||
"name": "Route Viewer",
|
||||
"icon": "route.png",
|
||||
"icon": "app.png",
|
||||
"version":"0.01",
|
||||
"description": "Upload a KML file of a route, and have your watch display a map with how far around it you are",
|
||||
"tags": "",
|
||||
"custom": "route.html",
|
||||
"custom": "custom.html",
|
||||
"storage": [
|
||||
{"name":"route.app.js"},
|
||||
{"name":"route.img"}
|
||||
{"name":"route.img","url":"app-icon.js","evaluate":true}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -147,7 +147,6 @@ TODO:
|
|||
lon : centerlatlon.lng
|
||||
})});
|
||||
mapFiles.unshift({"name":"openstmap.app.js","url":"app.js"});
|
||||
mapFiles.unshift({"name":"openstmap.img","url":"app-icon.js","evaluate":true});
|
||||
|
||||
console.log(mapFiles);
|
||||
});
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
require("heatshrink").decompress(atob("mEwgIkhvgFE/wEDgOHAocDgYFEgOAAp4XEEYsB4w1E5hBKnByFKw8/AQNAAQP/4EAAIMB4HggBABHoNwCwUGE4kOgEYBAMAhk+hgIBAoM/hkEAoMIv8MC4QFChARCAoIMCDoQXChkcjA1EAoJBBg5dCJoJHDKYWAsCGD4AJBAAXBDYIlCsYFBGwUzPok+AokcsOOmIUCAogAWA=="))
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
@ -240,12 +240,10 @@ Bangle.setGPSPower(1);
|
|||
Bangle.setCompassPower(1);
|
||||
g.clear();
|
||||
`;
|
||||
var icon = `require("heatshrink").decompress(atob("mEwgIkhvgFE/wEDgOHAocDgYFEgOAAp4XEEYsB4w1E5hBKnByFKw8/AQNAAQP/4EAAIMB4HggBABHoNwCwUGE4kOgEYBAMAhk+hgIBAoM/hkEAoMIv8MC4QFChARCAoIMCDoQXChkcjA1EAoJBBg5dCJoJHDKYWAsCGD4AJBAAXBDYIlCsYFBGwUzPok+AokcsOOmIUCAogAWA=="))`;
|
||||
|
||||
sendCustomizedApp({
|
||||
storage:[
|
||||
{name:"route.app.js", content:app},
|
||||
{name:"route.img", content:icon, evaluate:true},
|
||||
{name:"route.app.js", content:app}
|
||||
]
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue