feat(pwa): installable — PNG icons + beforeinstallprompt button

Chrome's install prompt needs 192 and 512 PNG icons (SVG-only often isn't
enough, especially on Android). Add them and reference them in the manifest
(any + maskable). offline.js captures beforeinstallprompt and shows an
'Installér app' button that triggers the native prompt, and clears it on
appinstalled. Bump SW cache to v2 so the new manifest/icons take effect.
This commit is contained in:
Henrik Jess Nielsen
2026-10-30 11:58:46 +01:00
parent b640d9950c
commit 66031345d2
5 changed files with 39 additions and 3 deletions

BIN
static/icon-512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB