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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user