fix(telegram-desktop): point Exec at the real binary to stop duplicate launcher icons

Telegram's own Linux runtime checks whether the installed .desktop file's
Exec matches its actual binary path, and silently writes a private copy to
~/.local/share/applications with a randomized name whenever it doesn't.
Our desktop entry pointed at the /usr/bin/telegram-desktop symlink, which
never matched /opt/telegram-desktop/Telegram, so Telegram regenerated a
shadow launcher on every start, producing a second, unmatched icon.

Exec/TryExec now point directly at the installed binary so Telegram's own
check finds a match. Bumped release and updated the checksum for the
changed desktop file.
This commit is contained in:
Александр
2026-07-25 03:43:58 +10:00
parent 71d6f41d92
commit 5dc78222f6
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
name='telegram-desktop'
version='7.0.5'
release=1
release=2
summary='Official Telegram messaging client'
summary_ru='Официальный клиент мессенджера Telegram'
group='Networking/Instant messaging'
@@ -46,7 +46,7 @@ sources=(
checksums=(
'sha256:37e23ce08333340504623042120b826f7a2a5650c831187219ab9c520740eb42'
'sha256:8ceb3f6aea1003f84f1b5757cd857f8237b294bb18456e5e0e54d96e6fff04ba'
'sha256:bf4db283db2b5706498646393c8853e56b41dee6ac14f18611041a8512eaf286'
'sha256:3fb1400c7dc9bbc3b5cb3ffedcbf4a9b09c53e28b57a7ff33a8a6b9048864090'
'sha256:f3ad1b5ecdc1c9e5ab3719a0b084a3e0b4fc87ad424fbf81043df9637be3d1f5'
)