mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
88a165d676
After the v4.8.7 release, I cannot launch telegram desktop because of the recent dbus support introduced in https://github.com/telegramdesktop/tdesktop/commit/2dfe85832717ccfd9268a5b767f03eb4e8665b8f. And it was fixed after I changed the value of the Exec field to absolute path to the telegram-desktop executable. In dbus specification they don't mention that they will find executable from PATH variable, so this is a UB. After this commit, cmake will use the full install path to generate the correct service file and fix the above issue. Signed-off-by: Avimitin <dev@avimit.in>
4 lines
92 B
Desktop File
4 lines
92 B
Desktop File
[D-BUS Service]
|
|
Name=org.telegram.desktop
|
|
Exec=@CMAKE_INSTALL_FULL_BINDIR@/telegram-desktop
|