mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Use 'telegramdesktop' as a default desktop file base name.
This commit is contained in:
@@ -91,10 +91,6 @@ if (TDESKTOP_DISABLE_DBUS_INTEGRATION)
|
||||
endif()
|
||||
|
||||
if (NOT TDESKTOP_LAUNCHER_BASENAME)
|
||||
if (NOT DESKTOP_APP_USE_PACKAGED)
|
||||
set(TDESKTOP_LAUNCHER_BASENAME "telegramdesktop")
|
||||
elseif (LINUX)
|
||||
message(FATAL_ERROR "Please provide .desktop file base name (-D TDESKTOP_LAUNCHER_BASENAME=[basename]).")
|
||||
endif()
|
||||
set(TDESKTOP_LAUNCHER_BASENAME "telegramdesktop")
|
||||
endif()
|
||||
target_compile_definitions(Telegram PRIVATE TDESKTOP_LAUNCHER_BASENAME=${TDESKTOP_LAUNCHER_BASENAME})
|
||||
|
Reference in New Issue
Block a user