clockbg 0.02: Moved settings into 'Settings->Apps'

pull/3328/head
Gordon Williams 2024-04-19 15:26:13 +01:00
parent 1156ba6ba2
commit b3baf95be9
4 changed files with 8 additions and 7 deletions

View File

@ -1 +1,2 @@
0.01: New App!
0.02: Moved settings into 'Settings->Apps'

View File

@ -1 +0,0 @@
require("heatshrink").decompress(atob("mEw4UA///8H55lCsHZHmEKgEVqoLIBQNVqgLGh4KBAANQBAUQBY1VoApBB4QLFDYoL/Bf4L/BbLrBBZAKBgEBBY0KAQIABgoLCCYQLEgEVBQYLGAAoL/Bf4LPAFw"))

View File

@ -1,11 +1,11 @@
{ "id": "clockbg",
"name": "Clock Backgrounds",
"shortName":"Backgrounds",
"version": "0.01",
"version": "0.02",
"description": "Library that allows clocks to include a custom background, from a library or uploaded.",
"icon": "app.png",
"screenshots": [{"url":"screenshot.png"}],
"type": "app",
"type": "module",
"readme": "README.md",
"provides_modules" : ["clockbg"],
"tags": "module,background",
@ -13,8 +13,7 @@
"interface": "interface.html",
"storage": [
{"name":"clockbg","url":"lib.js"},
{"name":"clockbg.app.js","url":"app.js"},
{"name":"clockbg.img","url":"app-icon.js","evaluate":true}
{"name":"clockbg.settings.js","url":"settings.js"}
], "data": [
{"wildcard":"clockbg.bg*.img"},
{"name":"clockbg.json"}

View File

@ -1,3 +1,4 @@
(function(back) {
let settings = Object.assign({
style : "randomcolor",
colors : ["#F00","#0F0","#00F"]
@ -82,7 +83,7 @@ function showModeMenu() {
function showMainMenu() {
E.showMenu({
"" : {title:/*LANG*/"Clock Background", back:load},
"" : {title:/*LANG*/"Clock Background", back:back},
/*LANG*/"Mode" : {
value : settings.style,
onchange : showModeMenu
@ -91,3 +92,4 @@ function showMainMenu() {
}
showMainMenu();
})