mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-02 12:42:16 +00:00
Update build scripts.
This commit is contained in:
parent
54a64c01dc
commit
3023a383fc
@ -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!
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user