minecraft-pi-reborn/images/CMakeLists.txt
TheBrokenRail 5d8aa28113
All checks were successful
CI / Build (AMD64) (push) Successful in 22m50s
CI / Build (ARM64) (push) Successful in 23m22s
CI / Build (ARMHF) (push) Successful in 13m32s
CI / Test (AMD64, Server) (push) Successful in 2m17s
CI / Build Example Mods (push) Successful in 1m48s
CI / Test (ARM64, Client) (push) Successful in 6m9s
CI / Test (AMD64, Client) (push) Successful in 6m23s
CI / Test (ARM64, Server) (push) Successful in 3m0s
CI / Test (ARMHF, Client) (push) Successful in 6m27s
CI / Test (ARMHF, Server) (push) Successful in 3m15s
CI / Release (push) Has been skipped
Make Biome-Tinted Grass Not Suck
2024-12-17 09:22:48 -05:00

39 lines
848 B
CMake

project(images)
# Logo
install(
FILES "modern_logo.png"
DESTINATION "${MCPI_INSTALL_DIR}/data/images/gui"
)
# Title Background
install(
FILES "background.png"
DESTINATION "${MCPI_INSTALL_DIR}/data/images/gui"
RENAME "titleBG.png"
)
# Mojang Textures
install(
FILES "mojang/chest.png"
DESTINATION "${MCPI_INSTALL_DIR}/data/images/item"
)
install(
FILES "mojang/shadow.png" "mojang/vignette.png" "mojang/grasscolor.png"
DESTINATION "${MCPI_INSTALL_DIR}/data/images/misc"
)
# 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()