diff --git a/Telegram/build/build.sh b/Telegram/build/build.sh index b5cf854c39..eb1ed0fa10 100755 --- a/Telegram/build/build.sh +++ b/Telegram/build/build.sh @@ -280,7 +280,7 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "macstore" ]; then fi cd $ReleasePath fi - if [ "$NotarizeRequestId" == "" ]; then + if [ "$NotarizeRequestId" == "" ] || [ "$NotarizeRequestId" == "go" ]; then if [ "$BuildTarget" == "mac" ]; then if [ ! -f "$ReleasePath/$BundleName/Contents/Frameworks/Updater" ]; then Error "Updater not found!" @@ -358,7 +358,7 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "macstore" ]; then if [ "$BuildTarget" == "mac" ]; then cd "$ReleasePath" - if [ "$NotarizeRequestId" == "" ]; then + if [ "$NotarizeRequestId" == "" ] || [ "$NotarizeRequestId" == "go" ]; then if [ "$AlphaVersion" == "0" ]; then cp -f tsetup_template.dmg tsetup.temp.dmg TempDiskPath=`hdiutil attach -nobrowse -noautoopenrw -readwrite tsetup.temp.dmg | awk -F "\t" 'END {print $3}'` @@ -391,7 +391,7 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "macstore" ]; then SetupFile="talpha${AlphaVersion}_${AlphaSignature}.zip" fi - if [ "$NotarizeRequestId" == "" ]; then + if [ "$NotarizeRequestId" == "" ] || [ "$NotarizeRequestId" == "go" ]; then rm -rf "$ReleasePath/AlphaTemp" mkdir "$ReleasePath/AlphaTemp" mkdir "$ReleasePath/AlphaTemp/$BinaryName"