Add and install a desktop file.
This commit is contained in:
@@ -20,6 +20,7 @@ install(FILES ${DATABASE_ICONS} DESTINATION ${DATA_INSTALL_DIR}/icons/database)
|
|||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
install(DIRECTORY icons/application/ DESTINATION share/icons/hicolor
|
install(DIRECTORY icons/application/ DESTINATION share/icons/hicolor
|
||||||
FILES_MATCHING PATTERN "keepassx.png" PATTERN "keepassx.svgz")
|
FILES_MATCHING PATTERN "keepassx.png" PATTERN "keepassx.svgz")
|
||||||
|
install(FILES linux/keepassx.desktop DESTINATION share/applications)
|
||||||
endif(UNIX AND NOT APPLE)
|
endif(UNIX AND NOT APPLE)
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
|
|||||||
12
share/linux/keepassx.desktop
Normal file
12
share/linux/keepassx.desktop
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=KeePassX
|
||||||
|
GenericName=Cross Platform Password Manager
|
||||||
|
GenericName[de]=Passwortverwaltung
|
||||||
|
GenericName[es]=Gestor de contraseñas multiplataforma
|
||||||
|
GenericName[fr]=Gestionnaire de mot de passe
|
||||||
|
Exec=keepassx %f
|
||||||
|
Icon=keepassx
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Qt;Utility;
|
||||||
|
MimeType=application/x-keepass2;
|
||||||
Reference in New Issue
Block a user