diff --git a/lib/xdg/telegramdesktop.desktop b/lib/xdg/telegramdesktop.desktop new file mode 100644 index 000000000..2151d0ad4 --- /dev/null +++ b/lib/xdg/telegramdesktop.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Name=Telegram Desktop +Comment=Official desktop version of Telegram messaging app +Exec=/usr/bin/telegram-desktop -- %u +Icon=telegram-desktop +Terminal=false +StartupWMClass=Telegram +Type=Application +Categories=Network; +MimeType=application/x-xdg-protocol-tg;x-scheme-handler/tg; diff --git a/lib/xdg/tg.protocol b/lib/xdg/tg.protocol new file mode 100644 index 000000000..a4b083acb --- /dev/null +++ b/lib/xdg/tg.protocol @@ -0,0 +1,11 @@ +[Protocol] +exec=/usr/bin/telegram-desktop -- %u +protocol=tg +input=none +output=none +helper=true +listing=false +reading=false +writing=false +makedir=false +deleting=false