mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Fix install of desktop file in flatpak
This commit is contained in:
parent
ffb8dfc034
commit
98d06f8dd5
2 changed files with 5 additions and 4 deletions
|
@ -747,9 +747,10 @@ if(UNIX AND NOT APPLE)
|
|||
install (FILES "resources/nheko-256.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/256x256/apps" RENAME "${APPID}.png")
|
||||
install (FILES "resources/nheko-512.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/512x512/apps" RENAME "${APPID}.png")
|
||||
install (FILES "resources/nheko.svg" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps" RENAME "${APPID}.svg")
|
||||
install (FILES "resources/nheko.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications" RENAME "${APPID}.desktop")
|
||||
install (FILES "resources/_nheko" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/zsh/site-functions")
|
||||
|
||||
configure_file("resources/nheko.desktop.in" "resources/nheko.desktop" @ONLY)
|
||||
install (FILES "resources/nheko.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications" RENAME "${APPID}.desktop")
|
||||
configure_file("resources/nheko.appdata.xml.in" "resources/nheko.appdata.xml" @ONLY)
|
||||
install (FILES "resources/nheko.appdata.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo" RENAME "${APPID}.appdata.xml")
|
||||
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
Name=nheko
|
||||
Version=1.0
|
||||
Comment=Desktop client for Matrix
|
||||
Exec=nheko %u
|
||||
Icon=nheko
|
||||
Exec=@APPID@ %u
|
||||
Icon=@APPID@
|
||||
Type=Application
|
||||
Categories=Network;InstantMessaging;Qt;
|
||||
StartupWMClass=nheko
|
||||
StartupWMClass=@APPID@
|
||||
Terminal=false
|
||||
MimeType=x-scheme-handler/matrix;
|
||||
X-GNOME-UsesNotifications=true
|
Loading…
Reference in a new issue