feat(pwa): pass Samsung Internet install criteria

- index.html: legacy metas Samsung Internet/older Android require to treat the page as
  installable (mobile-web-app-capable, apple-mobile-web-app-*, application-name)
- manifest.json: icons at 48/72/96/144/192/512 plus maskable 192/512 (every file's real
  pixel size matches the declared sizes), related_applications: []
- icons: derived the new sizes from the existing artwork (PIL, LANCZOS)
- README: document the Samsung-specific requirement
- VERSION bumped to 2026.11.24.5

Verified with CDP (Chrome + SamsungBrowser UA, 360x800): installabilityErrors [],
all 8 icons load with matching dimensions, screenshots served as image/png, no
horizontal overflow, service worker controlling the page.
This commit is contained in:
Bkk1234 committed 2026-11-24 15:06:32 +07:00
1 parent 084eb7dd8e
commit ddec75b99e
9 files changed
+41 -3

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
กติกา: bump VERSION เฉพาะเมื่อแก้ไฟล์นี้หรือรายการ PRECACHE
เนื้อหา (HTML/CSS/JS/JSON) ใช้ network-first จึงไม่ต้อง bump */
const VERSION = "2026.11.24.4";
const VERSION = "2026.11.24.5";
const CACHE = `hobbypj-${VERSION}`;
const PRECACHE = [