Rename icons and .desktop files

This commit is contained in:
Carl Philipp Klemm 2026-04-19 19:22:49 +02:00
parent 05e4fb1cc1
commit 7c96b87a11
8 changed files with 8 additions and 8 deletions

View file

@ -222,10 +222,10 @@ install(TARGETS smartvos DESTINATION bin)
install(TARGETS smartvos_core DESTINATION lib)
# Install icon
install(FILES UVOSicon.bmp DESTINATION share/icons/hicolor/48x48/apps RENAME smartvos.png)
install(FILES xyz.uvos.icon.png DESTINATION share/icons/hicolor/128x128/apps)
# Install .desktop file
install(FILES smartvos.desktop DESTINATION share/applications)
install(FILES xyz.uvos.smartvos.desktop DESTINATION share/applications)
# Update icon cache (optional, for icon themes)
install(CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX})")