Add empty icon to make linuxdeploy happy.
This commit is contained in:
parent
53e7d0ed06
commit
d38e40a1f2
|
@ -42,8 +42,14 @@ if(WITH_DESKTOP)
|
|||
# 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"
|
||||
# linuxdeploy insists on an icon.
|
||||
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/de.tastytea.${PROJECT_NAME}.svg" "")
|
||||
|
||||
install(FILES
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/de.tastytea.${PROJECT_NAME}.desktop"
|
||||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/de.tastytea.${PROJECT_NAME}.svg"
|
||||
"${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps")
|
||||
endif()
|
||||
|
||||
# include(cmake/packages.cmake)
|
||||
|
|
|
@ -4,6 +4,7 @@ Type=Application
|
|||
Name=@PROJECT_NAME@
|
||||
NoDisplay=true
|
||||
Comment=@PROJECT_DESCRIPTION@
|
||||
Icon=de.tastytea.mastorss
|
||||
Exec=@PROJECT_NAME@
|
||||
Terminal=true
|
||||
Categories=Network;
|
||||
|
|
Loading…
Reference in New Issue
Block a user