From c5c77ddb673828f1ac032fbd226ef498d069189c Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 16 Feb 2020 08:32:39 +0400 Subject: [PATCH] Rename Telegram Desktop to Telegram Lite. --- Telegram/CMakeLists.txt | 6 +++--- ...gram Desktop.entitlements => Telegram Lite.entitlements} | 0 Telegram/build/build.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename Telegram/Telegram/{Telegram Desktop.entitlements => Telegram Lite.entitlements} (100%) diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt index 96701f7735..5a9ee4bcc3 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -1076,8 +1076,8 @@ endif() if (build_macstore) set(bundle_identifier "org.telegram.desktop") - set(bundle_entitlements "Telegram Desktop.entitlements") - set(output_name "Telegram Desktop") + set(bundle_entitlements "Telegram Lite.entitlements") + set(output_name "Telegram Lite") set_target_properties(Telegram PROPERTIES XCODE_ATTRIBUTE_FRAMEWORK_SEARCH_PATHS ${libs_loc}/breakpad/src/client/mac/build/Release ) @@ -1121,7 +1121,7 @@ set_target_properties(Telegram PROPERTIES ) set(entitlement_sources "${CMAKE_CURRENT_SOURCE_DIR}/Telegram/Telegram.entitlements" - "${CMAKE_CURRENT_SOURCE_DIR}/Telegram/Telegram Desktop.entitlements" + "${CMAKE_CURRENT_SOURCE_DIR}/Telegram/Telegram Lite.entitlements" ) target_sources(Telegram PRIVATE ${entitlement_sources}) source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR}/Telegram PREFIX Resources FILES ${entitlement_sources}) diff --git a/Telegram/Telegram/Telegram Desktop.entitlements b/Telegram/Telegram/Telegram Lite.entitlements similarity index 100% rename from Telegram/Telegram/Telegram Desktop.entitlements rename to Telegram/Telegram/Telegram Lite.entitlements diff --git a/Telegram/build/build.sh b/Telegram/build/build.sh index 7b3ab4039e..3de5e19cf1 100755 --- a/Telegram/build/build.sh +++ b/Telegram/build/build.sh @@ -87,7 +87,7 @@ elif [ "$BuildTarget" == "macstore" ]; then echo "Building version $AppVersionStrFull for Mac App Store.." ProjectPath="$HomePath/../out" ReleasePath="$ProjectPath/Release" - BinaryName="Telegram Desktop" + BinaryName="Telegram Lite" else Error "Invalid target!" fi @@ -300,7 +300,7 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "osx" ] || [ "$BuildTarget if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "osx" ]; then codesign --force --deep --timestamp --options runtime --sign "Developer ID Application: John Preston" "$ReleasePath/$BinaryName.app" --entitlements "$HomePath/Telegram/Telegram.entitlements" elif [ "$BuildTarget" == "macstore" ]; then - codesign --force --deep --sign "3rd Party Mac Developer Application: TELEGRAM MESSENGER LLP (6N38VWS5BX)" "$ReleasePath/$BinaryName.app" --entitlements "$HomePath/Telegram/Telegram Desktop.entitlements" + codesign --force --deep --sign "3rd Party Mac Developer Application: TELEGRAM MESSENGER LLP (6N38VWS5BX)" "$ReleasePath/$BinaryName.app" --entitlements "$HomePath/Telegram/Telegram Lite.entitlements" echo "Making an installer.." productbuild --sign "3rd Party Mac Developer Installer: TELEGRAM MESSENGER LLP (6N38VWS5BX)" --component "$ReleasePath/$BinaryName.app" /Applications "$ReleasePath/$BinaryName.pkg" fi