From 3023a383fca6e2309646623577ffc7e80318d494 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 6 Nov 2019 00:27:20 +0300 Subject: [PATCH] Update build scripts. --- Telegram/build/build.bat | 2 +- Telegram/build/build.sh | 8 ++++---- Telegram/build/deploy.sh | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Telegram/build/build.bat b/Telegram/build/build.bat index 3e8e37cfc6..88b5c4e923 100644 --- a/Telegram/build/build.bat +++ b/Telegram/build/build.bat @@ -57,7 +57,7 @@ set "DeployPath=%ReleasePath%\deploy\%AppVersionStrMajor%\%AppVersionStrFull%" set "SignPath=%HomePath%\..\..\DesktopPrivate\Sign.bat" set "BinaryName=Telegram" set "DropboxSymbolsPath=Y:\Telegram\symbols" -set "FinalReleasePath=Z:\Telegram\backup" +set "FinalReleasePath=Z:\Projects\backup\tdesktop" if not exist %DropboxSymbolsPath% ( echo Dropbox path %DropboxSymbolsPath% not found! diff --git a/Telegram/build/build.sh b/Telegram/build/build.sh index 98a9568ac6..325d473b28 100755 --- a/Telegram/build/build.sh +++ b/Telegram/build/build.sh @@ -118,8 +118,8 @@ if [ "$BuildTarget" == "linux" ] || [ "$BuildTarget" == "linux32" ]; then Error "Dropbox path not found!" fi - BackupPath="/media/psf/backup/$AppVersionStrMajor/$AppVersionStrFull/t$BuildTarget" - if [ ! -d "/media/psf/backup" ]; then + BackupPath="/media/psf/backup/tdesktop/$AppVersionStrMajor/$AppVersionStrFull/t$BuildTarget" + if [ ! -d "/media/psf/backup/tdesktop" ]; then Error "Backup folder not found!" fi @@ -248,8 +248,8 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "osx" ] || [ "$BuildTarget Error "Dropbox path not found!" fi - BackupPath="$HOME/Telegram/backup/$AppVersionStrMajor/$AppVersionStrFull" - if [ ! -d "$HOME/Telegram/backup" ]; then + BackupPath="$HOME/Projects/backup/tdesktop/$AppVersionStrMajor/$AppVersionStrFull" + if [ ! -d "$HOME/Projects/backup/tdesktop" ]; then Error "Backup path not found!" fi diff --git a/Telegram/build/deploy.sh b/Telegram/build/deploy.sh index 87879bc1a4..e3e9fdf5be 100755 --- a/Telegram/build/deploy.sh +++ b/Telegram/build/deploy.sh @@ -79,9 +79,9 @@ else fi fi if [ "$BuildTarget" == "mac" ]; then - BackupPath="$HOME/Telegram/backup" + BackupPath="$HOME/Projects/backup/tdesktop" elif [ "$BuildTarget" == "linux" ]; then - BackupPath="/media/psf/Home/Telegram/backup" + BackupPath="/media/psf/Home/Projects/backup/tdesktop" else Error "Can't deploy here" fi