Fix updates script and instruction.

This commit is contained in:
John Preston 2019-12-13 18:13:28 +03:00
parent ff6df75adc
commit dc3e9e2f3d
2 changed files with 5 additions and 5 deletions

View File

@ -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.')

View File

@ -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