minecraft-pi-reborn/images/CMakeLists.txt
TheBrokenRail a830f66c41
All checks were successful
CI / Build (AMD64) (push) Successful in 21m6s
CI / Build (ARM64) (push) Successful in 21m9s
CI / Build (ARMHF) (push) Successful in 11m6s
CI / Test (AMD64, Server) (push) Successful in 2m17s
CI / Test (ARM64, Client) (push) Successful in 3m26s
CI / Build Example Mods (push) Successful in 1m9s
CI / Test (ARM64, Server) (push) Successful in 25s
CI / Test (AMD64, Client) (push) Successful in 5m3s
CI / Test (ARMHF, Client) (push) Successful in 3m38s
CI / Test (ARMHF, Server) (push) Successful in 38s
CI / Release (push) Has been skipped
Attempt #3
2024-06-17 20:10:03 -04:00

29 lines
594 B
CMake

project(images)
# Title Background
install(
FILES "background.png"
DESTINATION "${MCPI_INSTALL_DIR}/data/images/gui"
RENAME "titleBG.png"
)
# Chest Model
install(
FILES "chest.png"
DESTINATION "${MCPI_INSTALL_DIR}/data/images/item"
)
# Icon
set(ICON_DIR "${MCPI_SHARE_DIR}/icons/hicolor/512x512/apps")
install(
FILES "icon.png"
DESTINATION "${ICON_DIR}"
RENAME "${MCPI_APP_ID}.png"
)
# AppImage
if(MCPI_IS_APPIMAGE_BUILD)
install_symlink("${ICON_DIR}/${MCPI_APP_ID}.png" "${MCPI_APP_ID}.png")
install_symlink("${MCPI_APP_ID}.png" ".DirIcon")
endif()