Merge pull request #1648 from hobarrera/xdg-support-files

Include some reference XDG files
This commit is contained in:
John Preston 2016-03-17 14:59:21 +03:00
commit 62ceead444
2 changed files with 23 additions and 0 deletions

View File

@ -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;

11
lib/xdg/tg.protocol Normal file
View File

@ -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