mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Update frontend manifest for new icons (#100936)
This commit is contained in:
parent
59207be5f8
commit
82fdd8313f
@ -156,9 +156,18 @@ MANIFEST_JSON = Manifest(
|
|||||||
"src": f"/static/icons/favicon-{size}x{size}.png",
|
"src": f"/static/icons/favicon-{size}x{size}.png",
|
||||||
"sizes": f"{size}x{size}",
|
"sizes": f"{size}x{size}",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "maskable any",
|
"purpose": "any",
|
||||||
}
|
}
|
||||||
for size in (192, 384, 512, 1024)
|
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": [
|
"screenshots": [
|
||||||
{
|
{
|
||||||
@ -171,6 +180,7 @@ MANIFEST_JSON = Manifest(
|
|||||||
"name": "Home Assistant",
|
"name": "Home Assistant",
|
||||||
"short_name": "Assistant",
|
"short_name": "Assistant",
|
||||||
"start_url": "/?homescreen=1",
|
"start_url": "/?homescreen=1",
|
||||||
|
"id": "/?homescreen=1",
|
||||||
"theme_color": DEFAULT_THEME_COLOR,
|
"theme_color": DEFAULT_THEME_COLOR,
|
||||||
"prefer_related_applications": True,
|
"prefer_related_applications": True,
|
||||||
"related_applications": [
|
"related_applications": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user