Fix PWA install not available in Chrome (#629)

Resize PWA icons to match their declared dimensions (192x192, 512x512,
  180x180), split discouraged "any maskable" icon purpose, and add mobile
  and desktop screenshots to manifest.json for Chrome's richer install UI.
This commit is contained in:
maziggy
2026-03-06 13:35:34 +01:00
parent 46097a9ed4
commit 0eada5edcd
15 changed files with 37 additions and 4 deletions
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 KiB

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

+1 -1
View File
@@ -23,7 +23,7 @@
<!-- Splash screens for iOS -->
<link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
<script type="module" crossorigin src="/assets/index-CskDBRt4.js"></script>
<script type="module" crossorigin src="/assets/index-4rCw-7Dd.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DOJtH8DG.css">
</head>
<body>
+17 -1
View File
@@ -35,7 +35,23 @@
"src": "/img/apple-touch-icon.png",
"sizes": "180x180",
"type": "image/png",
"purpose": "any maskable"
"purpose": "maskable"
}
],
"screenshots": [
{
"src": "/img/screenshot-mobile.png",
"sizes": "1080x1920",
"type": "image/png",
"form_factor": "narrow",
"label": "Bambuddy on mobile"
},
{
"src": "/img/screenshot-desktop.png",
"sizes": "1920x1080",
"type": "image/png",
"form_factor": "wide",
"label": "Bambuddy on desktop"
}
],
"categories": ["utilities", "productivity"],