Make Nheko discoverable using appdata
2 files changed, 8 insertions, 1 deletions
diff --git a/resources/nheko.appdata.xml b/resources/nheko.appdata.xml.in
index 5aafdc6d..ff572752 100644
--- a/resources/nheko.appdata.xml
+++ b/resources/nheko.appdata.xml.in
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2020-2022 mujx, nheko reborn developers -->
<component type="desktop">
- <id>nheko.desktop</id>
+ <id>@APPID@.desktop</id>
+ <launchable type="desktop-id">@APPID@.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<name>nheko</name>
@@ -36,6 +37,10 @@
<content_attribute id="social-chat">intense</content_attribute>
<content_attribute id="social-audio">intense</content_attribute>
</content_rating>
+ <custom>
+ <value key="Purism::form_factor">workstation</value>
+ <value key="Purism::form_factor">mobile</value>
+ </custom>
<screenshots>
<screenshot type="default">
<image>https://nheko-reborn.github.io/images/screenshots/chat.png</image>
diff --git a/resources/nheko.desktop b/resources/nheko.desktop
index 4f454a74..90489a94 100644
--- a/resources/nheko.desktop
+++ b/resources/nheko.desktop
@@ -10,3 +10,5 @@ StartupWMClass=nheko
Terminal=false
MimeType=x-scheme-handler/matrix;
X-GNOME-UsesNotifications=true
+Keywords=Matrix;matrix.org;chat;irc;communications;talk;riot;element;fractal;voip;
+X-KDE-Keywords=Matrix,matrix.org,chat,irc,communications,talk,riot,element,fractal,voip,
|