Tweaks after 5e5d23c921
12
apps.json
|
|
@ -1,5 +1,17 @@
|
||||||
---
|
---
|
||||||
---
|
---
|
||||||
|
{% comment %}
|
||||||
|
=================================================================
|
||||||
|
ALL THE INFORMATION INSIDE APPS.JSON HAS NOW BEEN MOVED
|
||||||
|
|
||||||
|
You'll find it inside a file called apps/yourapp/metadata.json
|
||||||
|
|
||||||
|
Otherwise nothing has changed. GitHub Pages will automatically
|
||||||
|
create apps.json as your site is hosted, or if you're hosting
|
||||||
|
yourself you can run bin/create_apps_json.sh
|
||||||
|
|
||||||
|
=================================================================
|
||||||
|
{% endcomment %}
|
||||||
{%- assign apps = site.static_files | where: "name", "metadata.json" -%}
|
{%- assign apps = site.static_files | where: "name", "metadata.json" -%}
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "ffcniftya",
|
"id": "ffcniftya",
|
||||||
"name": "Nifty-A Clock",
|
"name": "Nifty-A Clock",
|
||||||
"version": "0.01",
|
"version": "0.02",
|
||||||
"description": "A nifty clock with time and date",
|
"description": "A nifty clock with time and date",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"screenshots": [{"url":"screenshot_nifty.png"}],
|
"screenshots": [{"url":"screenshot_nifty.png"}],
|
||||||
|
|
@ -12,6 +12,8 @@
|
||||||
"allow_emulator": true,
|
"allow_emulator": true,
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":"ffcniftya.app.js","url":"app.js"},
|
{"name":"ffcniftya.app.js","url":"app.js"},
|
||||||
{"name":"ffcniftya.img","url":"app-icon.js","evaluate":true}
|
{"name":"ffcniftya.img","url":"app-icon.js","evaluate":true},
|
||||||
]
|
{"name":"ffcniftya.settings.js","url":"settings.js"}
|
||||||
|
],
|
||||||
|
"data": [{"name":"ffcniftya.json"}]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,15 @@
|
||||||
"id": "launch",
|
"id": "launch",
|
||||||
"name": "Launcher",
|
"name": "Launcher",
|
||||||
"shortName": "Launcher",
|
"shortName": "Launcher",
|
||||||
"version": "0.10",
|
"version": "0.11",
|
||||||
"description": "This is needed to display a menu allowing you to choose your own applications. You can replace this with a customised launcher.",
|
"description": "This is needed to display a menu allowing you to choose your own applications. You can replace this with a customised launcher.",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"type": "launch",
|
"type": "launch",
|
||||||
"tags": "tool,system,launcher",
|
"tags": "tool,system,launcher",
|
||||||
"supports": ["BANGLEJS","BANGLEJS2"],
|
"supports": ["BANGLEJS","BANGLEJS2"],
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":"launch.app.js","url":"app-bangle1.js","supports":["BANGLEJS"]},
|
{"name":"launch.app.js","url":"app.js"},
|
||||||
{"name":"launch.app.js","url":"app-bangle2.js","supports":["BANGLEJS2"]},
|
{"name":"launch.settings.js","url":"settings.js"}
|
||||||
{"name":"launch.settings.js","url":"settings.js","supports":["BANGLEJS2"]}
|
|
||||||
],
|
],
|
||||||
"data": [{"name":"launch.json"}],
|
"data": [{"name":"launch.json"}],
|
||||||
"sortorder": -10
|
"sortorder": -10
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"id": "limelight",
|
||||||
|
"name": "Limelight",
|
||||||
|
"version": "0.01",
|
||||||
|
"description": "Simple analogue clock (with configurable fonts) based on the work of @Andreas_Rozek (Simple_Clock)",
|
||||||
|
"icon": "limelight.png",
|
||||||
|
"readme":"README.md",
|
||||||
|
"screenshots": [{"url":"screenshot_limelight.png"}],
|
||||||
|
"type": "clock",
|
||||||
|
"tags": "clock",
|
||||||
|
"supports": ["BANGLEJS","BANGLEJS2"],
|
||||||
|
"storage": [
|
||||||
|
{"name":"limelight.app.js","url":"limelight.app.js"},
|
||||||
|
{"name":"limelight.settings.js","url":"limelight.settings.js"},
|
||||||
|
{"name":"limelight.img","url":"limelight.icon.js","evaluate":true}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -1 +1 @@
|
||||||
0.1: New app
|
0.01: New app
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"id": "timeandlife",
|
||||||
|
"name": "Time and Life",
|
||||||
|
"shortName":"Time and Lfie",
|
||||||
|
"icon": "app.png",
|
||||||
|
"version":"0.01",
|
||||||
|
"description": "A simple watchface which displays the time when the screen is tapped and decay according to the rules of Conway's game of life.",
|
||||||
|
"type": "clock",
|
||||||
|
"tags": "clock",
|
||||||
|
"supports": ["BANGLEJS2"],
|
||||||
|
"allow_emulator":true,
|
||||||
|
"readme": "README.md",
|
||||||
|
"storage": [
|
||||||
|
{"name":"timeandlife.app.js","url":"app.js"},
|
||||||
|
{"name":"timeandlife.img","url":"app-icon.js","evaluate":true}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "vectorclock",
|
"id": "vectorclock",
|
||||||
"name": "Vector Clock",
|
"name": "Vector Clock",
|
||||||
"version": "0.03",
|
"version": "0.04",
|
||||||
"description": "A digital clock that uses the built-in vector font.",
|
"description": "A digital clock that uses the built-in vector font.",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
|
|
@ -14,6 +14,8 @@
|
||||||
],
|
],
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":"vectorclock.app.js","url":"app.js"},
|
{"name":"vectorclock.app.js","url":"app.js"},
|
||||||
{"name":"vectorclock.img","url":"app-icon.js","evaluate":true}
|
{"name":"vectorclock.img","url":"app-icon.js","evaluate":true},
|
||||||
]
|
{"name":"vectorclock.settings.js","url":"settings.js"}
|
||||||
|
],
|
||||||
|
"data": [{"name":"vectorclock.json"}]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd `dirname $0`/..
|
||||||
|
echo "[" > apps.json
|
||||||
|
for app in apps/*/; do
|
||||||
|
echo "Processing $app...";
|
||||||
|
if [[ "$app" =~ ^apps/_example.* ]]; then
|
||||||
|
echo "Ignoring $app"
|
||||||
|
else
|
||||||
|
cat ${app}metadata.json >> apps.json
|
||||||
|
echo ",\"$app\"," >> apps.json
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
echo "null]" >> apps.json
|
||||||
|
|
@ -30,11 +30,12 @@ var apps = [];
|
||||||
var dirs = fs.readdirSync(APPSDIR, {withFileTypes: true});
|
var dirs = fs.readdirSync(APPSDIR, {withFileTypes: true});
|
||||||
dirs.forEach(dir => {
|
dirs.forEach(dir => {
|
||||||
var appsFile;
|
var appsFile;
|
||||||
if (dir.name.startsWith("_example"))
|
if (dir.name.startsWith("_example") || !dir.isDirectory())
|
||||||
return;
|
return;
|
||||||
try {
|
try {
|
||||||
appsFile = fs.readFileSync(APPSDIR+dir.name+"/metadata.json").toString();
|
appsFile = fs.readFileSync(APPSDIR+dir.name+"/metadata.json").toString();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
ERROR(dir.name+"/metadata.json does not exist");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try{
|
try{
|
||||||
|
|
|
||||||
2
core
|
|
@ -1 +1 @@
|
||||||
Subproject commit e0b43e62d0daaa498508951f89c108b96ce1d0d1
|
Subproject commit 5023ee1228030130ba9f026d5dbe920f7527ee7d
|
||||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |