commit cc9f822b35bbbaecf9afdfa821834a147c8b305c
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sat Jan 18 12:06:06 2020 +0100
Changed Exec in desktop file.
telegram-desktop.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 4a69cd2..51cb9f0 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -314,7 +314,7 @@ mkdir -p %{buildroot}%{_bindir}
install -m 0755 -p %{_target_platform}/bin/Telegram %{buildroot}%{_bindir}/%{name}
# Installing desktop shortcut...
-desktop-file-install --copy-name-to-generic-name
--dir=%{buildroot}%{_datadir}/applications lib/xdg/%{launcher}.desktop
+desktop-file-install --set-key=Exec --set-value=%{_bindir}/%{name}
--copy-name-to-generic-name --dir=%{buildroot}%{_datadir}/applications
lib/xdg/%{launcher}.desktop
# Installing icons...
for size in 16 32 48 64 128 256 512; do