Icon Fix Attempt #2
This commit is contained in:
parent
6740eb595e
commit
6fb1c8d59a
@ -14,15 +14,14 @@ install(
|
||||
)
|
||||
|
||||
# Icon
|
||||
set(ICON_SIZE "348x348")
|
||||
install(
|
||||
FILES "icon.png"
|
||||
DESTINATION "${MCPI_SHARE_DIR}/icons/hicolor/${ICON_SIZE}/apps"
|
||||
DESTINATION "${MCPI_SHARE_DIR}/icons/hicolor/apps"
|
||||
RENAME "${MCPI_APP_ID}.png"
|
||||
)
|
||||
|
||||
# AppImage
|
||||
if(MCPI_IS_APPIMAGE_BUILD)
|
||||
install_symlink("${MCPI_SHARE_DIR}/icons/hicolor/${ICON_SIZE}/apps/${MCPI_APP_ID}.png" "${MCPI_APP_ID}.png")
|
||||
install_symlink("${MCPI_SHARE_DIR}/icons/hicolor/apps/${MCPI_APP_ID}.png" "${MCPI_APP_ID}.png")
|
||||
install_symlink("${MCPI_APP_ID}.png" ".DirIcon")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user