From 82fdd8313fef764262fd9ea5dc334fa44a5b48e1 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Tue, 26 Sep 2023 17:53:26 +0200 Subject: [PATCH] Update frontend manifest for new icons (#100936) --- homeassistant/components/frontend/__init__.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index 59315e9f576..a5a4d76f9e7 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -156,9 +156,18 @@ MANIFEST_JSON = Manifest( "src": f"/static/icons/favicon-{size}x{size}.png", "sizes": f"{size}x{size}", "type": "image/png", - "purpose": "maskable any", + "purpose": "any", } for size in (192, 384, 512, 1024) + ] + + [ + { + "src": f"/static/icons/maskable_icon-{size}x{size}.png", + "sizes": f"{size}x{size}", + "type": "image/png", + "purpose": "maskable", + } + for size in (48, 72, 96, 128, 192, 384, 512) ], "screenshots": [ { @@ -171,6 +180,7 @@ MANIFEST_JSON = Manifest( "name": "Home Assistant", "short_name": "Assistant", "start_url": "/?homescreen=1", + "id": "/?homescreen=1", "theme_color": DEFAULT_THEME_COLOR, "prefer_related_applications": True, "related_applications": [