Have full path to the binary in .desktop file

After removing the -workdir, this is the last difference with URL scheme handler command
This commit is contained in:
Ilya Fedin
2022-11-27 03:08:07 +04:00
committed by John Preston
parent b383dad6ac
commit c77f07239f
2 changed files with 5 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
[Desktop Entry]
Name=Telegram Desktop
Comment=Official desktop version of Telegram messaging app
TryExec=telegram-desktop
Exec=telegram-desktop -- %u
TryExec=@CMAKE_INSTALL_FULL_BINDIR@/telegram-desktop
Exec=@CMAKE_INSTALL_FULL_BINDIR@/telegram-desktop -- %u
Icon=telegram
Terminal=false
StartupWMClass=TelegramDesktop
@@ -16,6 +16,6 @@ X-GNOME-UsesNotifications=true
X-GNOME-SingleWindow=true
[Desktop Action Quit]
Exec=telegram-desktop -quit
Exec=@CMAKE_INSTALL_FULL_BINDIR@/telegram-desktop -quit
Name=Quit Telegram
Icon=application-exit