minecraft-pi-reborn/images/CMakeLists.txt
TheBrokenRail 65ee4d8a78
All checks were successful
CI / Build (AMD64) (push) Successful in 21m8s
CI / Build (ARM64) (push) Successful in 23m43s
CI / Build (ARMHF) (push) Successful in 16m16s
CI / Test (AMD64, Server) (push) Successful in 2m26s
CI / Build Example Mods (push) Successful in 1m41s
CI / Test (ARM64, Client) (push) Successful in 4m41s
CI / Test (ARM64, Server) (push) Successful in 1m39s
CI / Test (AMD64, Client) (push) Successful in 6m22s
CI / Test (ARMHF, Client) (push) Successful in 4m53s
CI / Test (ARMHF, Server) (push) Successful in 1m51s
CI / Release (push) Has been skipped
Shrink Icon For Flatpak
2024-09-22 21:21:53 -04:00

35 lines
695 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"
)
# 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()