From 84a43a2e6afbdfab92c610d47aa75e3876ffacd6 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Thu, 12 Mar 2026 13:48:25 -0500 Subject: Replace wrestool with native Rust PE icon extraction (pelite) - Add icons.rs to nak crate: parses PE resource sections, extracts RT_GROUP_ICON/RT_ICON and builds ICO files in memory - Expose nak_extract_exe_icon() FFI for C++ consumption - Update iconForExecutable() to use Rust FFI instead of shelling out to wrestool; reads all ICO entries for correct color depth - Fix BasicGamePlugin::gameIcon() to call iconForExecutable() (was returning empty QIcon, causing placeholder icons for BG3/Cyberpunk) - Move app icon setup: setDesktopFileName + setWindowIcon to MOApplication constructor (fixes Wayland taskbar/decoration icon) - Move data/com.fluorine.* to data/icons/, install to XDG paths at launch for Wayland compositor icon resolution - Remove icoutils dependency from Docker image and build output Co-Authored-By: Claude Opus 4.6 --- data/com.fluorine.manager.desktop | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 data/com.fluorine.manager.desktop (limited to 'data/com.fluorine.manager.desktop') diff --git a/data/com.fluorine.manager.desktop b/data/com.fluorine.manager.desktop deleted file mode 100644 index ff62c76..0000000 --- a/data/com.fluorine.manager.desktop +++ /dev/null @@ -1,22 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Fluorine Manager -GenericName=Mod Manager -Comment=Mod Organizer 2 for Linux - manage your game mods -Exec=fluorine-manager -Icon=com.fluorine.manager -Terminal=false -Categories=Game;Utility; -Keywords=mod;organizer;modding;skyrim;fallout; -MimeType=x-scheme-handler/nxm; -Actions=create-portable;list-instances; - -[Desktop Action create-portable] -Name=Create Portable Instance -Exec=fluorine-manager create-portable -Icon=com.fluorine.manager - -[Desktop Action list-instances] -Name=List Instances -Exec=fluorine-manager list-instances -Icon=com.fluorine.manager -- cgit v1.3.1