From a830f66c4162ec2ec41791013bb3c50db5777ed0 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Mon, 17 Jun 2024 20:10:03 -0400 Subject: [PATCH] Attempt #3 --- images/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/images/CMakeLists.txt b/images/CMakeLists.txt index 571a2cdcf3..641cc52b6c 100644 --- a/images/CMakeLists.txt +++ b/images/CMakeLists.txt @@ -14,14 +14,15 @@ install( ) # Icon +set(ICON_DIR "${MCPI_SHARE_DIR}/icons/hicolor/512x512/apps") install( FILES "icon.png" - DESTINATION "${MCPI_SHARE_DIR}/icons/hicolor/apps" + DESTINATION "${ICON_DIR}" RENAME "${MCPI_APP_ID}.png" ) # AppImage if(MCPI_IS_APPIMAGE_BUILD) - install_symlink("${MCPI_SHARE_DIR}/icons/hicolor/apps/${MCPI_APP_ID}.png" "${MCPI_APP_ID}.png") + install_symlink("${ICON_DIR}/${MCPI_APP_ID}.png" "${MCPI_APP_ID}.png") install_symlink("${MCPI_APP_ID}.png" ".DirIcon") endif()