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

+7 -1
View File
@@ -22,7 +22,13 @@
content="รายชื่อโปรเจคอดิเรกของเรา เลือกโปรเจคที่อยากดูได้เลย"
/>
<meta name="theme-color" content="#8A4722" />
<meta name="app-version" content="2026.11.24.4" />
<!-- Samsung Internet / เบราว์เซอร์รุ่นเก่าใช้ meta เหล่านี้ตัดสินว่า "ติดตั้งได้" -->
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content="โปรเจคอดิเรก" />
<meta name="application-name" content="โปรเจคอดิเรก" />
<meta name="app-version" content="2026.11.24.5" />
<link rel="manifest" href="manifest.json" />
<link rel="icon" type="image/png" sizes="192x192" href="icons/icon-192.png" />
<link rel="icon" type="image/png" sizes="64x64" href="icons/favicon-64.png" />