Unify packaged/non-packaged binary name

This commit is contained in:
Ilya Fedin
2025-05-30 15:23:18 +00:00
committed by John Preston
parent 15c817dd15
commit 56ff5808a3
6 changed files with 8 additions and 11 deletions

View File

@@ -1,8 +1,8 @@
[Desktop Entry]
Name=Telegram
Comment=New era of messaging
TryExec=telegram-desktop
Exec=telegram-desktop -- %u
TryExec=Telegram
Exec=Telegram -- %u
Icon=org.telegram.desktop
Terminal=false
StartupWMClass=TelegramDesktop
@@ -17,6 +17,6 @@ X-GNOME-UsesNotifications=true
X-GNOME-SingleWindow=true
[Desktop Action quit]
Exec=telegram-desktop -quit
Exec=Telegram -quit
Name=Quit Telegram
Icon=application-exit

View File

@@ -106,7 +106,7 @@
</content_rating>
<launchable type="desktop-id">org.telegram.desktop.desktop</launchable>
<provides>
<binary>telegram-desktop</binary>
<binary>Telegram</binary>
<dbus type="session">org.telegram.desktop</dbus>
<mediatype>x-scheme-handler/tg</mediatype>
<mediatype>x-scheme-handler/tonsite</mediatype>

View File

@@ -1,3 +1,3 @@
[D-BUS Service]
Name=org.telegram.desktop
Exec=@CMAKE_INSTALL_FULL_BINDIR@/telegram-desktop
Exec=@CMAKE_INSTALL_FULL_BINDIR@/Telegram