App name replaces

This commit is contained in:
Eric Kotato 2020-01-24 03:06:30 +03:00
parent 4a031ca0bc
commit d78a0a2733
2 changed files with 8 additions and 8 deletions

View file

@ -1080,9 +1080,9 @@ elseif (LINUX)
endif()
if (build_macstore)
set(bundle_identifier "org.telegram.desktop")
set(bundle_identifier "io.github.kotatogram")
set(bundle_entitlements "Telegram Desktop.entitlements")
set(output_name "Telegram Desktop")
set(output_name "Kotatogram Desktop")
set_target_properties(Telegram PROPERTIES
XCODE_ATTRIBUTE_FRAMEWORK_SEARCH_PATHS ${libs_loc}/breakpad/src/client/mac/build/Release
)
@ -1094,16 +1094,16 @@ if (build_macstore)
COMMAND cp -a ${libs_loc}/breakpad/src/client/mac/build/Release/Breakpad.framework $<TARGET_FILE_DIR:Telegram>/../Frameworks/Breakpad.framework
)
elseif (build_osx)
set(bundle_identifier "com.tdesktop.Telegram$<$<CONFIG:Debug>:DebugOsx>")
set(bundle_identifier "io.github.kotatogram$<$<CONFIG:Debug>:DebugOsx>")
set(bundle_entitlements "Telegram.entitlements")
set(output_name "Telegram")
set(output_name "Kotatogram")
else()
set(bundle_identifier "com.tdesktop.Telegram$<$<CONFIG:Debug>:Debug>")
set(bundle_identifier "io.github.kotatogram$<$<CONFIG:Debug>:Debug>")
set(bundle_entitlements "Telegram.entitlements")
if (LINUX AND DESKTOP_APP_USE_PACKAGED)
set(output_name "telegram-desktop")
set(output_name "kotatogram-desktop")
else()
set(output_name "Telegram")
set(output_name "Kotatogram")
endif()
endif()

View file

@ -91,6 +91,6 @@ if (TDESKTOP_DISABLE_DBUS_INTEGRATION)
endif()
if (NOT TDESKTOP_LAUNCHER_BASENAME)
set(TDESKTOP_LAUNCHER_BASENAME "telegramdesktop")
set(TDESKTOP_LAUNCHER_BASENAME "kotatogramdesktop")
endif()
target_compile_definitions(Telegram PRIVATE TDESKTOP_LAUNCHER_BASENAME=${TDESKTOP_LAUNCHER_BASENAME})