build script fixed for appstore version

This commit is contained in:
John Preston 2016-02-26 22:13:18 +03:00
parent 77481b7339
commit 12f3bb2082
1 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ elif [ "$BuildTarget" == "macstore" ]; then
echo "Building version $AppVersionStrFull for Mac App Store.." echo "Building version $AppVersionStrFull for Mac App Store.."
ReleasePath="./../Mac/Release" ReleasePath="./../Mac/Release"
BinaryName="Telegram Desktop" BinaryName="Telegram Desktop"
DropboxPath="./../../../Dropbox/$BinaryName/deploy/$AppVersionStrMajor" DropboxPath="./../../../Dropbox/Telegram/deploy/$AppVersionStrMajor"
DropboxDeployPath="$DropboxPath/$AppVersionStrFull" DropboxDeployPath="$DropboxPath/$AppVersionStrFull"
else else
echo "Invalid target!" echo "Invalid target!"
@ -109,7 +109,7 @@ fi
if [ "$BuildTarget" == "linux" ] || [ "$BuildTarget" == "linux32" ]; then if [ "$BuildTarget" == "linux" ] || [ "$BuildTarget" == "linux32" ]; then
DropboxSymbolsPath="/media/psf/Home/Dropbox/$BinaryName/symbols" DropboxSymbolsPath="/media/psf/Home/Dropbox/Telegram/symbols"
mkdir -p "$WorkPath/ReleaseIntermediateUpdater" mkdir -p "$WorkPath/ReleaseIntermediateUpdater"
cd "$WorkPath/ReleaseIntermediateUpdater" cd "$WorkPath/ReleaseIntermediateUpdater"
@ -189,7 +189,7 @@ fi
if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ] || [ "$BuildTarget" == "macstore" ]; then if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ] || [ "$BuildTarget" == "macstore" ]; then
DropboxSymbolsPath="./../../../Dropbox/$BinaryName/symbols" DropboxSymbolsPath="./../../../Dropbox/Telegram/symbols"
if [ "$FastParam" != "fast" ]; then if [ "$FastParam" != "fast" ]; then
touch "./SourceFiles/telegram.qrc" touch "./SourceFiles/telegram.qrc"