From ea4a3cc315ef8d6e70ce8df799d390196d855c94 Mon Sep 17 00:00:00 2001 From: Austin Bennett Date: Fri, 11 Sep 2026 17:09:08 -0500 Subject: [PATCH] Fix the Flatpak build: keep the icon's tag in its first 256 bytes AppStream compose in the Flatpak build failed with "Unrecognized image file format" for the new scalable icon, so v0.1.5 was never published. Image loaders recognise an SVG by finding " Claude-Session: https://claude.ai/code/session_01BxDf7HqD1xPnsZP8wt3NTk --- icons/CMakeLists.txt | 8 ++++++++ icons/sc-apps-io.github.toservetheking.Kareer.svg | 14 ++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/icons/CMakeLists.txt b/icons/CMakeLists.txt index ec57db4..c48586b 100644 --- a/icons/CMakeLists.txt +++ b/icons/CMakeLists.txt @@ -4,6 +4,14 @@ # Named after the app ID, as the desktop file, the window icon and Flatpak # (which only exports icons prefixed with the app ID) all expect. +# Image loaders (gdk-pixbuf, and so AppStream compose in the Flatpak build) +# recognise an SVG by finding " tag must start within the first 256 bytes; move comments inside the element.") +endif() + ecm_install_icons(ICONS sc-apps-io.github.toservetheking.Kareer.svg 128-apps-io.github.toservetheking.Kareer.png diff --git a/icons/sc-apps-io.github.toservetheking.Kareer.svg b/icons/sc-apps-io.github.toservetheking.Kareer.svg index 34d7d7c..d8238f3 100644 --- a/icons/sc-apps-io.github.toservetheking.Kareer.svg +++ b/icons/sc-apps-io.github.toservetheking.Kareer.svg @@ -1,13 +1,15 @@ - + +