Add PWA manifest, service worker, and install hint.
Enables home-screen installation with per-viewer scope and platform-specific guidance in EN/DE. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,6 +2,7 @@ document.addEventListener("DOMContentLoaded", async () => {
|
||||
await I18n.init();
|
||||
applyStaticI18n();
|
||||
setupLanguage();
|
||||
await Pwa.init();
|
||||
setupCreate();
|
||||
});
|
||||
|
||||
@@ -17,6 +18,7 @@ function setupLanguage() {
|
||||
sel.addEventListener("change", async (e) => {
|
||||
await I18n.setPreference(e.target.value);
|
||||
applyStaticI18n();
|
||||
Pwa.refreshHint();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user