Fix Icon Path
This commit is contained in:
parent
99a7407404
commit
6740eb595e
@ -14,14 +14,15 @@ install(
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Icon
|
# Icon
|
||||||
|
set(ICON_SIZE "348x348")
|
||||||
install(
|
install(
|
||||||
FILES "icon.png"
|
FILES "icon.png"
|
||||||
DESTINATION "${MCPI_SHARE_DIR}/icons/hicolor/scalable/apps"
|
DESTINATION "${MCPI_SHARE_DIR}/icons/hicolor/${ICON_SIZE}/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/${ICON_SIZE}/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()
|
||||||
|
Loading…
Reference in New Issue
Block a user