From 090277d7a19f9c50b1c935b2dcd10f330a666067 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 28 Oct 2021 20:38:58 +0400 Subject: [PATCH] Upload a separate macOS ARM update. --- Telegram/build/deploy.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Telegram/build/deploy.sh b/Telegram/build/deploy.sh index 386882df07..a36babd390 100755 --- a/Telegram/build/deploy.sh +++ b/Telegram/build/deploy.sh @@ -78,6 +78,7 @@ else fi MacDeployPath="$BackupPath/$AppVersionStrMajor/$AppVersionStrFull/tmac" MacUpdateFile="tmacupd$AppVersion" +ARMacUpdateFile="tarmacupd$AppVersion" MacSetupFile="tsetup.$AppVersionStrFull.dmg" MacRemoteFolder="tmac" WinDeployPath="$BackupPath/$AppVersionStrMajor/$AppVersionStrFull/tsetup" @@ -115,6 +116,7 @@ if [ "$AlphaVersion" != "0" ]; then done < "$AlphaFilePath" MacUpdateFile="${MacUpdateFile}_${AlphaSignature}" + ARMacUpdateFile="${ARMacUpdateFile}_${AlphaSignature}" MacSetupFile="talpha${AlphaVersion}_${AlphaSignature}.zip" WinUpdateFile="${WinUpdateFile}_${AlphaSignature}" WinPortableFile="talpha${AlphaVersion}_${AlphaSignature}.zip" @@ -128,6 +130,9 @@ if [ "$DeployMac" == "1" ]; then if [ ! -f "$MacDeployPath/$MacUpdateFile" ]; then Error "$MacDeployPath/$MacUpdateFile not found!"; fi + if [ ! -f "$MacDeployPath/$ARMacUpdateFile" ]; then + Error "$MacDeployPath/$ARMacUpdateFile not found!"; + fi if [ ! -f "$MacDeployPath/$MacSetupFile" ]; then Error "$MacDeployPath/$MacSetupFile not found!" fi @@ -171,7 +176,7 @@ $FullScriptPath/../../../DesktopPrivate/mount.sh declare -a Files if [ "$DeployMac" == "1" ]; then - Files+=("tmac/$MacUpdateFile" "tmac/$MacSetupFile") + Files+=("tmac/$MacUpdateFile" "tmac/$ARMacUpdateFile" "tmac/$MacSetupFile") fi if [ "$DeployWin" == "1" ]; then Files+=("tsetup/$WinUpdateFile" "tsetup/$WinPortableFile")