2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

destkop: add keywords stanza

They are used by mayor desktops to search through apps.

Remove this modification from snapcraft
This commit is contained in:
Marco Trevisan (Treviño)
2018-09-26 11:00:31 +02:00
committed by John Preston
parent ec37867d72
commit dcb748c544
3 changed files with 2 additions and 1 deletions

View File

@@ -382,6 +382,7 @@ void RegisterCustomScheme() {
s << "Type=Application\n";
s << "Categories=Network;InstantMessaging;Qt;\n";
s << "MimeType=x-scheme-handler/tg;\n";
s << "Keywords=tg;chat;im;messaging;messenger;sms;tdesktop;\n";
f.close();
if (_psRunCommand("desktop-file-install --dir=" + EscapeShell(QFile::encodeName(home + qsl(".local/share/applications"))) + " --delete-original " + EscapeShell(QFile::encodeName(file)))) {