fixed build script for beta version 9014002

This commit is contained in:
John Preston 2015-12-04 13:20:36 +03:00
parent 7f47fba37d
commit 44f62fa9ba

View File

@ -257,7 +257,7 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ] || [ "$BuildTarg
mkdir "$DeployPath/Telegram"
cp -r "$ReleasePath/$BinaryName.app" "$DeployPath/Telegram/"
if [ "$BetaVersion" != "0" ]; then
zip -r "$ReleasePath/$SetupFile" "$DeployPath/Telegram"
cd "$DeployPath" && zip -r "$SetupFile" "Telegram" && mv "$SetupFile" "./../../../" && cd "./../../../$HomePath"
mv "$ReleasePath/$BetaKeyFile" "$DeployPath/"
fi
mv "$ReleasePath/$BinaryName.app.dSYM" "$DeployPath/"