mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-30 23:38:25 +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'
|
archive = 'tdesktop_macOS_' + today + '.zip'
|
||||||
|
|
||||||
if building:
|
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):
|
if os.path.exists('../out/Debug/' + outputFolder):
|
||||||
finish(1, 'Todays updates version exists.')
|
finish(1, 'Todays updates version exists.')
|
||||||
|
|
||||||
result = subprocess.call('configure.sh', shell=True)
|
result = subprocess.call('./configure.sh', shell=True)
|
||||||
if result != 0:
|
if result != 0:
|
||||||
finish(1, 'While calling GYP.')
|
finish(1, 'While calling GYP.')
|
||||||
|
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
|
|
||||||
Go to ***BuildPath*** and run
|
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
|
git clone https://chromium.googlesource.com/breakpad/breakpad
|
||||||
cd breakpad
|
cd breakpad
|
||||||
@ -17,7 +17,7 @@ Go to ***BuildPath*** and run
|
|||||||
cd src/third_party/lss
|
cd src/third_party/lss
|
||||||
git checkout a91633d1
|
git checkout a91633d1
|
||||||
cd ../../..
|
cd ../../..
|
||||||
git apply ../../tdesktop/Telegram/Patches/breakpad.diff
|
git apply ../patches/breakpad.diff
|
||||||
cd src/client/mac
|
cd src/client/mac
|
||||||
xcodebuild -project Breakpad.xcodeproj -target Breakpad -configuration Debug build
|
xcodebuild -project Breakpad.xcodeproj -target Breakpad -configuration Debug build
|
||||||
xcodebuild -project Breakpad.xcodeproj -target Breakpad -configuration Release build
|
xcodebuild -project Breakpad.xcodeproj -target Breakpad -configuration Release build
|
||||||
|
Loading…
Reference in New Issue
Block a user