mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-11 08:48:14 +00:00
Fix updates script and instruction.
This commit is contained in:
parent
ff6df75adc
commit
dc3e9e2f3d
@ -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.')
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user