Repository navigation
When installing Echoic as a PWA, the home-screen icon now uses the app's own logo instead of the previous generic microphone drawing.
What's new
- All install icons are generated from the same mark as the in-app : rounded tile with the brand gradient (#1677ff → #3f8cff → #6aa9ff) and six white sound-wave bars.
- icons/icon-192.png, icons/icon-512.png — purpose any (rounded tile, transparent corners)
- icons/icon-maskable-512.png — purpose maskable, full-bleed background with the glyph inside the central 80% safe zone (verified with a circular crop)
- icons/apple-touch-icon.png (180), icons/favicon-32.png, favicon.svg
- New scripts/render_pwa_icons.mjs (Playwright) is the single source of truth and verifies PNG signatures/dimensions, so icons can't drift from the UI logo again.
- Service worker cache bumped to echoic-shell-v2 and now precaches the 32px favicon, so already-installed PWAs refresh to the new icon on next load.
Verification
- Manifest is served as application/manifest+json with 192/512 any + 512 maskable entries; every icon URL returns 200 image/png with the expected dimensions; apple-touch-icon is reachable from index.html.
- Service worker registers and its echoic-shell-v2 cache contains favicon.svg plus all five PNG icons; 0 page errors.
- Visual check of rounded, circular-masked and iOS variants next to the in-app logo (docs/screenshots/v1.0.4/01-pwa-icons-vs-app-logo.png).
- CI (backend/frontend/pgvector staging) green; GHCR multi-arch image published.
Install/reinstall tip: on Android open Echoic in Chrome → menu → 添加到主屏幕 / Install app; on iOS use Safari → 分享 → 添加到主屏幕. If you already installed the old icon, remove it and reinstall (or wait for the browser to refresh the manifest) to see the logo.