Add desktop file.

This commit is contained in:
tastytea 2019-12-29 10:33:10 +01:00
parent 41f013820c
commit 47106d85c8
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 6 additions and 0 deletions

View File

@ -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)