From 44f62fa9ba4deaababe903e32fe57769122e8578 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 4 Dec 2015 13:20:36 +0300 Subject: [PATCH] fixed build script for beta version 9014002 --- Telegram/Build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/Build.sh b/Telegram/Build.sh index 05143337e2..f6dad296ad 100755 --- a/Telegram/Build.sh +++ b/Telegram/Build.sh @@ -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/"