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:
committed by
John Preston
parent
ec37867d72
commit
dcb748c544
@@ -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)))) {
|
||||
|
Reference in New Issue
Block a user