mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-27 09:45:02 +00:00
Include some reference XDG files
Include a .desktop file (for app menu in xdg-complaint desktops), and tg.protocol (for having xdg-complaint apps pick up the tg: protocol). Signed-off-by: Hugo Osvaldo Barrera <hugo@barrera.io> (github: hobarrera)
This commit is contained in:
parent
6a299e32d3
commit
3a919628b3
12
lib/xdg/telegramdesktop.desktop
Normal file
12
lib/xdg/telegramdesktop.desktop
Normal 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
11
lib/xdg/tg.protocol
Normal 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
|
Loading…
Reference in New Issue
Block a user