From c1be8ecc92082f757d16ed3c85aad7ce77e8e4c4 Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Jan 27 2025 21:01:37 +0000 Subject: Create an ICO for the Fedora WSL variant It's possible to include a icon inside a WSL image that's used as the icon in various places in the UI. The icon needs to be in the .ico format, and less than 10MB[0]. As part of the WSL image work[1], it would be good if we could include an icon. [0] https://learn.microsoft.com/en-us/windows/wsl/build-custom-distro [1] https://bugzilla.redhat.com/show_bug.cgi?id=2338441 Signed-off-by: Jeremy Cline --- diff --git a/Makefile b/Makefile index a939da1..7150951 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,9 @@ optimize: xargs -L 1 -P `getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1` \ zopflipng -ym +wsl-logo.ico: + magick icons/hicolor/256x256/apps/fedora-logo-icon.png pixmaps/fedora-logo.ico + update-po: @echo "updating pot files..." sed -e "s/_name/name/g" $(XML).in > $(XML) @@ -31,4 +34,4 @@ update-po: #intltool-merge -x po $(XML).in $(XML) clean: - rm -f pixmaps/fedora-logo-sprite.png bootloader/fedora.icns bootloader/bootlogo_128.png bootloader/bootlogo_256.png + rm -f pixmaps/fedora-logo-sprite.png bootloader/fedora.icns bootloader/bootlogo_128.png bootloader/bootlogo_256.png pixmaps/fedora-logo.ico