diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | android-chrome-192x192.png | bin | 29352 -> 0 bytes | |||
-rw-r--r-- | android-chrome-512x512.png | bin | 103139 -> 0 bytes | |||
-rw-r--r-- | manifest.json | 38 | ||||
-rw-r--r-- | site.webmanifest | 1 | ||||
-rw-r--r-- | sworker.js | 4 | ||||
-rw-r--r-- | templates/base.html | 2 |
7 files changed, 26 insertions, 21 deletions
@@ -1,6 +1,6 @@ FILES=hesla.js hesla.js.map config.js config.js.map \ activePage.js activePage.js.map favicon-*.png a*.png lamb-of-God.svg sworker.js \ - index_de.html index.html screen.css site.webmanifest favicon.ico \ + index_de.html index.html screen.css manifest.json favicon.ico \ google9815148f4ac1407f.html config.ts hesla.ts activePage.ts %.js: %.ts diff --git a/android-chrome-192x192.png b/android-chrome-192x192.png Binary files differdeleted file mode 100644 index e1335e6..0000000 --- a/android-chrome-192x192.png +++ /dev/null diff --git a/android-chrome-512x512.png b/android-chrome-512x512.png Binary files differdeleted file mode 100644 index 899ff64..0000000 --- a/android-chrome-512x512.png +++ /dev/null diff --git a/manifest.json b/manifest.json index 1468bd7..5bfc9d1 100644 --- a/manifest.json +++ b/manifest.json @@ -1,19 +1,25 @@ { - "version": "0.3.1", - "name": "Hesla", - "description": "Display today's Hesla (Losungen, Watchwords) from Bible.", - "icons": { - "48": "lamb-of-God.svg", - "96": "lamb-of-God.svg", - "128": "lamb-of-God.svg" - }, - "app": { - "urls": [ - "http://hesla.ceplovi.cz/" - ], - "launch": { - "web_url": "http://hesla.ceplovi.cz/" + "name": "Hesla JB", + "short_name": "Hesla", + "icons": [ + { + "src": "/icon-192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/icon-512.png", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "lamb-of-God.svg", + "sizes": "192x192", + "type": "image/svg+xml" } - }, - "manifest_version": 2 + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone", + "start_url": "/" } diff --git a/site.webmanifest b/site.webmanifest deleted file mode 100644 index 45dc8a2..0000000 --- a/site.webmanifest +++ /dev/null @@ -1 +0,0 @@ -{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
\ No newline at end of file @@ -1,4 +1,4 @@ -var VERSION = 'v67 - 2024-04-21'; +var VERSION = 'v69 - 2024-08-22'; var toCache = [ '/', 'activePage.js', @@ -18,7 +18,7 @@ var toCache = [ 'index_de.html', 'index.html', 'screen.css', - 'site.webmanifest' + 'manifest.json' ]; self.addEventListener('install', event => { diff --git a/templates/base.html b/templates/base.html index a3b2091..b6d26ca 100644 --- a/templates/base.html +++ b/templates/base.html @@ -20,7 +20,7 @@ <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> - <link rel="manifest" href="/site.webmanifest"> + <link rel="manifest" href="/manifest.json"> <title>{{ title }}</title> <script src="config.js" type="module" defer></script> <style> |