Fix Flatpak Build

This commit is contained in:
TheBrokenRail 2025-02-26 03:17:27 -05:00
parent ac86dc36cf
commit 1b6524127a

View File

@ -20,12 +20,12 @@ endif()
# Icon # Icon
install( install(
FILES "icon.png" FILES "icon.png"
DESTINATION "${MCPI_SHARE_DIR}/icons/hicolor/scalable/apps" DESTINATION "${MCPI_SHARE_DIR}/icons/hicolor/512x512/apps"
RENAME "${MCPI_APP_ID}.png" RENAME "${MCPI_APP_ID}.png"
) )
# AppImage # AppImage
if(MCPI_IS_APPIMAGE_BUILD) if(MCPI_IS_APPIMAGE_BUILD)
install_symlink("${MCPI_SHARE_DIR}/icons/hicolor/scalable/apps/${MCPI_APP_ID}.png" "${MCPI_APP_ID}.png") install_symlink("${MCPI_SHARE_DIR}/icons/hicolor/512x512/apps/${MCPI_APP_ID}.png" "${MCPI_APP_ID}.png")
install_symlink("${MCPI_APP_ID}.png" ".DirIcon") install_symlink("${MCPI_APP_ID}.png" ".DirIcon")
endif() endif()