Fix Flatpak Build
This commit is contained in:
parent
ac86dc36cf
commit
1b6524127a
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user