mirror of
https://github.com/rizinorg/cutter.git
synced 2024-11-26 22:31:08 +00:00
Added metainfo file to the installation. (#3346)
Switched from hardcoded directory name to CMAKE_INSTALL_DATAROOTDIR use. Removed the COMPONENT option from the desktop file installation entry since the file is not a development file and is always needed. Added missing GenericName and Comment to the desktop file.
This commit is contained in:
parent
8251f7ec68
commit
38c683b519
@ -618,8 +618,9 @@ endforeach()
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
install(FILES "img/cutter.svg"
|
||||
DESTINATION "share/icons/hicolor/scalable/apps/")
|
||||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps")
|
||||
install(FILES "re.rizin.cutter.desktop"
|
||||
DESTINATION "share/applications"
|
||||
COMPONENT Devel)
|
||||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")
|
||||
install(FILES "re.rizin.cutter.appdata.xml"
|
||||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo")
|
||||
endif()
|
||||
|
@ -1,6 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Cutter
|
||||
GenericName=Reverse Engineering Platform
|
||||
Comment=Reverse Engineering Platform powered by rizin
|
||||
Exec=cutter
|
||||
Icon=cutter
|
||||
Categories=Development;
|
||||
|
Loading…
Reference in New Issue
Block a user