aboutsummaryrefslogtreecommitdiffstats
path: root/testing/telegram-desktop/xdg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/telegram-desktop/xdg.patch')
-rw-r--r--testing/telegram-desktop/xdg.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/telegram-desktop/xdg.patch b/testing/telegram-desktop/xdg.patch
new file mode 100644
index 0000000000..e26bda0bc7
--- /dev/null
+++ b/testing/telegram-desktop/xdg.patch
@@ -0,0 +1,30 @@
+--- a/lib/xdg/telegramdesktop.desktop
++++ b/lib/xdg/telegramdesktop.desktop
+@@ -1,6 +1,8 @@
+ [Desktop Entry]
+ Version=1.0
+ Name=Telegram Desktop
++GenericName=Telegram Desktop
++Keywords=IM;Chat;
+ Comment=Official desktop version of Telegram messaging app
+ Exec=telegram-desktop -- %u
+ Icon=telegram
+--- a/lib/xdg/telegramdesktop.appdata.xml
++++ b/lib/xdg/telegramdesktop.appdata.xml
+@@ -1,6 +1,6 @@
+ <?xml version="1.0" encoding="utf-8"?>
+ <component type="desktop">
+- <id>org.telegram.desktop</id>
++ <id>telegram-desktop.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-3.0</project_license>
+ <name>Telegram Desktop</name>
+--- a/lib/xdg/tg.protocol
++++ b/lib/xdg/tg.protocol
+@@ -1,5 +1,5 @@
+ [Protocol]
+-exec=/usr/bin/telegram-desktop -- %u
++exec=telegram-desktop -- %u
+ protocol=tg
+ input=none
+ output=none