From dc3e9e2f3ddc0a11de6ae4b1beeb3be964623d21 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 13 Dec 2019 18:13:28 +0300 Subject: [PATCH] Fix updates script and instruction. --- Telegram/build/updates.py | 4 ++-- docs/building-xcode-mas.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Telegram/build/updates.py b/Telegram/build/updates.py index 226db83de..e0f0db828 100644 --- a/Telegram/build/updates.py +++ b/Telegram/build/updates.py @@ -46,12 +46,12 @@ outputFolder = 'updates/' + today archive = 'tdesktop_macOS_' + today + '.zip' if building: - print('Building debug version for OS X 10.8+..') + print('Building debug version for OS X 10.12+..') if os.path.exists('../out/Debug/' + outputFolder): finish(1, 'Todays updates version exists.') - result = subprocess.call('configure.sh', shell=True) + result = subprocess.call('./configure.sh', shell=True) if result != 0: finish(1, 'While calling GYP.') diff --git a/docs/building-xcode-mas.md b/docs/building-xcode-mas.md index 57602c4ba..f3a1ad471 100644 --- a/docs/building-xcode-mas.md +++ b/docs/building-xcode-mas.md @@ -6,9 +6,9 @@ Go to ***BuildPath*** and run - MACOSX_DEPLOYMENT_TARGET=10.8 + MACOSX_DEPLOYMENT_TARGET=10.12 - cd Libraries + cd Libraries/macos git clone https://chromium.googlesource.com/breakpad/breakpad cd breakpad @@ -17,7 +17,7 @@ Go to ***BuildPath*** and run cd src/third_party/lss git checkout a91633d1 cd ../../.. - git apply ../../tdesktop/Telegram/Patches/breakpad.diff + git apply ../patches/breakpad.diff cd src/client/mac xcodebuild -project Breakpad.xcodeproj -target Breakpad -configuration Debug build xcodebuild -project Breakpad.xcodeproj -target Breakpad -configuration Release build