Bump iOS PWA icon filename
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 10s

This commit is contained in:
Kroonk
2026-05-21 14:35:23 +02:00
parent 325c30414c
commit 0c3838da8a
5 changed files with 10 additions and 11 deletions

View File

@@ -92,7 +92,8 @@ mischlabs/
- `background_color`: #0a0a0f - `background_color`: #0a0a0f
- Icons: - Icons:
- `icons/app-icon-source.png` (1024x1024, quadratischer Ausschnitt aus dem MischLabs-Bild) - `icons/app-icon-source.png` (1024x1024, quadratischer Ausschnitt aus dem MischLabs-Bild)
- `icons/apple-touch-icon.png` (180x180) - `icons/apple-touch-icon-v2.png` (180x180, frischer Dateiname gegen iOS-Icon-Cache)
- `icons/apple-touch-icon.png` (180x180, alte Kompatibilitaetskopie)
- `icons/icon-192.png` (192x192) - `icons/icon-192.png` (192x192)
- `icons/icon-512.png` (512x512) - `icons/icon-512.png` (512x512)
- `icons/maskable-512.png` (512x512, maskable) - `icons/maskable-512.png` (512x512, maskable)

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@@ -9,8 +9,8 @@
<meta name="apple-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="black-translucent"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="MischLabs"> <meta name="apple-mobile-web-app-title" content="MischLabs">
<link rel="manifest" href="/manifest.webmanifest"> <link rel="manifest" href="/manifest.webmanifest?v=2">
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png"> <link rel="apple-touch-icon" href="/icons/apple-touch-icon-v2.png">
<link rel="icon" type="image/png" sizes="192x192" href="/icons/icon-192.png"> <link rel="icon" type="image/png" sizes="192x192" href="/icons/icon-192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/icons/icon-512.png"> <link rel="icon" type="image/png" sizes="512x512" href="/icons/icon-512.png">
<link rel="stylesheet" href="style.css?v=8"> <link rel="stylesheet" href="style.css?v=8">

View File

@@ -12,23 +12,22 @@
"categories": ["productivity", "utilities"], "categories": ["productivity", "utilities"],
"icons": [ "icons": [
{ {
"src": "/icons/icon-192.png", "src": "/icons/icon-192.png?v=2",
"sizes": "192x192", "sizes": "192x192",
"type": "image/png", "type": "image/png",
"purpose": "any" "purpose": "any"
}, },
{ {
"src": "/icons/icon-512.png", "src": "/icons/icon-512.png?v=2",
"sizes": "512x512", "sizes": "512x512",
"type": "image/png", "type": "image/png",
"purpose": "any" "purpose": "any"
}, },
{ {
"src": "/icons/maskable-512.png", "src": "/icons/maskable-512.png?v=2",
"sizes": "512x512", "sizes": "512x512",
"type": "image/png", "type": "image/png",
"purpose": "maskable" "purpose": "maskable"
} }
] ]
} }

7
sw.js
View File

@@ -1,12 +1,12 @@
const CACHE_NAME = 'mischlabs-pwa-v1'; const CACHE_NAME = 'mischlabs-pwa-v2';
const APP_SHELL = [ const APP_SHELL = [
'/', '/',
'/index.html', '/index.html',
'/style.css?v=8', '/style.css?v=8',
'/manifest.webmanifest', '/manifest.webmanifest?v=2',
'/icons/icon-192.png', '/icons/icon-192.png',
'/icons/icon-512.png', '/icons/icon-512.png',
'/icons/apple-touch-icon.png' '/icons/apple-touch-icon-v2.png'
]; ];
self.addEventListener('install', (event) => { self.addEventListener('install', (event) => {
@@ -53,4 +53,3 @@ self.addEventListener('fetch', (event) => {
)) ))
); );
}); });