diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-12 13:48:25 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-12 13:48:25 -0500 |
| commit | 84a43a2e6afbdfab92c610d47aa75e3876ffacd6 (patch) | |
| tree | ea624ec287181905441fbf1247c645976bdb8fc9 /CMakeLists.txt | |
| parent | 3ba283d9350783c038cc2844450f4938ad125f08 (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 700e55f..21e13f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -154,12 +154,13 @@ add_subdirectory(libs/libbsarch) # shared + static, needs dds-header add_subdirectory(libs/7zip) # builds 7z.so from source (Linux only) add_subdirectory(libs/archive) # shared lib, needs dl add_subdirectory(libs/lootcli) # executable, needs Qt6 + boost + libloot + curl -add_subdirectory(libs/uibase) # shared lib, needs Qt6 + spdlog if(BUILD_NAK_FFI) - add_subdirectory(libs/nak_ffi) + add_subdirectory(libs/nak_ffi) # Rust FFI lib, before uibase (icon extraction) endif() +add_subdirectory(libs/uibase) # shared lib, needs Qt6 + spdlog + nak_ffi (Linux) + if(BUILD_BSA_FFI) add_subdirectory(libs/bsa_ffi) endif() |
