Try to restore updater-dependent binary path logic

Now that the file generating logic is simplier, it may be not that hard to maintain
This commit is contained in:
Ilya Fedin
2023-04-01 22:56:09 +04:00
committed by John Preston
parent 40e65eb1e6
commit 3064a41014
4 changed files with 18 additions and 9 deletions

View File

@@ -1,8 +1,8 @@
[Desktop Entry]
Name=Telegram Desktop
Comment=Official desktop version of Telegram messaging app
TryExec=@CMAKE_INSTALL_FULL_BINDIR@/telegram-desktop
Exec=@CMAKE_INSTALL_FULL_BINDIR@/telegram-desktop -- %u
TryExec=telegram-desktop
Exec=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=@CMAKE_INSTALL_FULL_BINDIR@/telegram-desktop -quit
Exec=telegram-desktop -quit
Name=Quit Telegram
Icon=application-exit