Rename Telegram Desktop to Telegram Lite.
This commit is contained in:
parent
2f698de3b6
commit
c5c77ddb67
|
@ -1076,8 +1076,8 @@ endif()
|
||||||
|
|
||||||
if (build_macstore)
|
if (build_macstore)
|
||||||
set(bundle_identifier "org.telegram.desktop")
|
set(bundle_identifier "org.telegram.desktop")
|
||||||
set(bundle_entitlements "Telegram Desktop.entitlements")
|
set(bundle_entitlements "Telegram Lite.entitlements")
|
||||||
set(output_name "Telegram Desktop")
|
set(output_name "Telegram Lite")
|
||||||
set_target_properties(Telegram PROPERTIES
|
set_target_properties(Telegram PROPERTIES
|
||||||
XCODE_ATTRIBUTE_FRAMEWORK_SEARCH_PATHS ${libs_loc}/breakpad/src/client/mac/build/Release
|
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
|
set(entitlement_sources
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/Telegram/Telegram.entitlements"
|
"${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})
|
target_sources(Telegram PRIVATE ${entitlement_sources})
|
||||||
source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR}/Telegram PREFIX Resources FILES ${entitlement_sources})
|
source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR}/Telegram PREFIX Resources FILES ${entitlement_sources})
|
||||||
|
|
|
@ -87,7 +87,7 @@ elif [ "$BuildTarget" == "macstore" ]; then
|
||||||
echo "Building version $AppVersionStrFull for Mac App Store.."
|
echo "Building version $AppVersionStrFull for Mac App Store.."
|
||||||
ProjectPath="$HomePath/../out"
|
ProjectPath="$HomePath/../out"
|
||||||
ReleasePath="$ProjectPath/Release"
|
ReleasePath="$ProjectPath/Release"
|
||||||
BinaryName="Telegram Desktop"
|
BinaryName="Telegram Lite"
|
||||||
else
|
else
|
||||||
Error "Invalid target!"
|
Error "Invalid target!"
|
||||||
fi
|
fi
|
||||||
|
@ -300,7 +300,7 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "osx" ] || [ "$BuildTarget
|
||||||
if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "osx" ]; then
|
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"
|
codesign --force --deep --timestamp --options runtime --sign "Developer ID Application: John Preston" "$ReleasePath/$BinaryName.app" --entitlements "$HomePath/Telegram/Telegram.entitlements"
|
||||||
elif [ "$BuildTarget" == "macstore" ]; then
|
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.."
|
echo "Making an installer.."
|
||||||
productbuild --sign "3rd Party Mac Developer Installer: TELEGRAM MESSENGER LLP (6N38VWS5BX)" --component "$ReleasePath/$BinaryName.app" /Applications "$ReleasePath/$BinaryName.pkg"
|
productbuild --sign "3rd Party Mac Developer Installer: TELEGRAM MESSENGER LLP (6N38VWS5BX)" --component "$ReleasePath/$BinaryName.app" /Applications "$ReleasePath/$BinaryName.pkg"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue