diff --git a/cmake/Packaging.cmake b/cmake/Packaging.cmake index 1218e732f..ec44ead15 100644 --- a/cmake/Packaging.cmake +++ b/cmake/Packaging.cmake @@ -199,11 +199,6 @@ macro(configure_linux_packaging) DESTINATION share/applications RENAME ${install_desktop_file}) - install( - FILES ${DESKFLOW_RES_DIR}/app.png - DESTINATION share/pixmaps - RENAME ${DESKFLOW_APP_ID}.png) - # Prepare PKGBUILD for Arch Linux configure_file(${DESKFLOW_PROJECT_RES_DIR}/dist/arch/PKGBUILD.in ${CMAKE_BINARY_DIR}/PKGBUILD @ONLY) diff --git a/deploy/CMakeLists.txt b/deploy/CMakeLists.txt index 531726dfd..f34e2d090 100644 --- a/deploy/CMakeLists.txt +++ b/deploy/CMakeLists.txt @@ -10,4 +10,13 @@ if(WIN32) ${PROJECT_BINARY_DIR}/src/version.rc @ONLY ) +elseif(NOT APPLE) + + # Install our icon + install( + FILES ${CMAKE_CURRENT_LIST_DIR}/deskflow.png + DESTINATION share/icons/hicolor/512x512/apps/ + RENAME org.deskflow.deskflow.png + ) + endif() diff --git a/res/app.png b/deploy/deskflow.png similarity index 100% rename from res/app.png rename to deploy/deskflow.png