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.
|
# Needed for AppImage.
|
||||||
configure_file("de.tastytea.${PROJECT_NAME}.desktop.in"
|
configure_file("de.tastytea.${PROJECT_NAME}.desktop.in"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/de.tastytea.${PROJECT_NAME}.desktop" @ONLY)
|
"${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")
|
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")
|
||||||
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/de.tastytea.${PROJECT_NAME}.svg"
|
||||||
|
"${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# include(cmake/packages.cmake)
|
# include(cmake/packages.cmake)
|
||||||
|
|
|
@ -4,6 +4,7 @@ Type=Application
|
||||||
Name=@PROJECT_NAME@
|
Name=@PROJECT_NAME@
|
||||||
NoDisplay=true
|
NoDisplay=true
|
||||||
Comment=@PROJECT_DESCRIPTION@
|
Comment=@PROJECT_DESCRIPTION@
|
||||||
|
Icon=de.tastytea.mastorss
|
||||||
Exec=@PROJECT_NAME@
|
Exec=@PROJECT_NAME@
|
||||||
Terminal=true
|
Terminal=true
|
||||||
Categories=Network;
|
Categories=Network;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user