Manifest mit Icons aus der Marke und Standalone-Fenster; ein bewusst dummer Service Worker beantwortet nur die App-Navigation network-first und hält die zuletzt gesehene Fassung für den Offline-Fall — die Update-Prüfung (D45) bleibt dadurch unverändert wahr, der skipWaiting-Lebenszyklus entfällt. Die installierte App registriert sich für .werkbaum-Dateien (file_handlers + launchQueue -> adoptFile). Beide Deploy-Wege kopieren die App-Hülle mit; .htaccess liefert .webmanifest mit MIME-Typ aus. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
20 lines
724 B
JSON
20 lines
724 B
JSON
{
|
|
"name": "Werkbaum",
|
|
"short_name": "Werkbaum",
|
|
"description": "A textual notation for work breakdown structures with and/or decomposition, and a live diagram editor.",
|
|
"start_url": "./",
|
|
"scope": "./",
|
|
"display": "standalone",
|
|
"background_color": "#ffffff",
|
|
"theme_color": "#243447",
|
|
"icons": [
|
|
{ "src": "icon-192.png", "sizes": "192x192", "type": "image/png" },
|
|
{ "src": "icon-512.png", "sizes": "512x512", "type": "image/png" },
|
|
{ "src": "icon-maskable-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
|
|
],
|
|
"file_handlers": [
|
|
{ "action": "./", "accept": { "text/plain": [".werkbaum", ".txt"] } }
|
|
],
|
|
"launch_handler": { "client_mode": "focus-existing" }
|
|
}
|