From 7646fec2d4ba17563e57e787f4e70e6983c0d7f8 Mon Sep 17 00:00:00 2001 From: Flo Greistorfer Date: Tue, 9 Jul 2024 09:13:31 +0200 Subject: [PATCH] fixed size issue --- builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder.py b/builder.py index fab8ec1..f66a89a 100755 --- a/builder.py +++ b/builder.py @@ -128,7 +128,7 @@ def webmanifest(_args: Args) -> None: files = os.listdir(os.path.join(STATIC_FILES_DIR, "icons")) if svgsupport and any(file.endswith(".svg") for file in files): svg = [file for file in files if file.endswith(".svg")][0] - icons.append({"src": f"{_args.web_root_url}.static/icons/{svg}", "type": "image/svg+xml", "sizes": "any"}) + icons.append({"src": f"{_args.web_root_url}.static/icons/{svg}", "type": "image/svg+xml", "sizes": "512x512"}) for size in ICON_SIZES: tmpimg = BytesIO() sizes = size.split("x")