From 47106d85c8d478aede7db2dc35797b1f9c6369a3 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 29 Dec 2019 10:33:10 +0100 Subject: [PATCH] Add desktop file. --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 72a6b9c..689157d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,4 +37,10 @@ endif() install(FILES watchwords.json DESTINATION "${CMAKE_INSTALL_DATADIR}/mastorss") +# Needed for AppImage. +configure_file("de.tastytea.${PROJECT_NAME}.desktop.in" + "${CMAKE_CURRENT_BINARY_DIR}/de.tastytea.${PROJECT_NAME}.desktop" @ONLY) +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/de.tastytea.${PROJECT_NAME}.desktop" + DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") + # include(cmake/packages.cmake)