mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 15:45:12 +00:00
Fix appveyor build.
This commit is contained in:
@@ -50,8 +50,8 @@ GOTO:EOF
|
|||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
cd %SRC_DIR%\Telegram
|
cd %SRC_DIR%\Telegram
|
||||||
call gyp\refresh.bat --api-id 17349 --api-hash 344583e45741c457fe1862106095a5eb
|
call gyp\refresh.bat --api-id 17349 --api-hash 344583e45741c457fe1862106095a5eb --ci-build
|
||||||
GOTO:EOF
|
GOTO:EOF
|
||||||
|
|
||||||
:configureBuild
|
:configureBuild
|
||||||
call:logInfo "Configuring build"
|
call:logInfo "Configuring build"
|
||||||
|
2
Telegram/ThirdParty/libtgvoip
vendored
2
Telegram/ThirdParty/libtgvoip
vendored
Submodule Telegram/ThirdParty/libtgvoip updated: 6151c18784...302d42fc20
@@ -23,6 +23,7 @@ apiId = ''
|
|||||||
apiHash = ''
|
apiHash = ''
|
||||||
nextApiId = False
|
nextApiId = False
|
||||||
nextApiHash = False
|
nextApiHash = False
|
||||||
|
ciBuild = False
|
||||||
for arg in sys.argv:
|
for arg in sys.argv:
|
||||||
if nextApiId:
|
if nextApiId:
|
||||||
apiId = re.sub(r'[^\d]', '', arg)
|
apiId = re.sub(r'[^\d]', '', arg)
|
||||||
@@ -33,6 +34,8 @@ for arg in sys.argv:
|
|||||||
else:
|
else:
|
||||||
nextApiId = (arg == '--api-id')
|
nextApiId = (arg == '--api-id')
|
||||||
nextApiHash = (arg == '--api-hash')
|
nextApiHash = (arg == '--api-hash')
|
||||||
|
if arg == '--ci-build':
|
||||||
|
ciBuild = True
|
||||||
|
|
||||||
officialTarget = ''
|
officialTarget = ''
|
||||||
officialTargetFile = scriptPath + '/../build/target'
|
officialTargetFile = scriptPath + '/../build/target'
|
||||||
@@ -86,6 +89,9 @@ gypArguments.append('-Dapi_id=' + apiId)
|
|||||||
gypArguments.append('-Dapi_hash=' + apiHash)
|
gypArguments.append('-Dapi_hash=' + apiHash)
|
||||||
gypArguments.append('-Dlottie_use_cache=1')
|
gypArguments.append('-Dlottie_use_cache=1')
|
||||||
gypArguments.append('-Dspecial_build_target=' + officialTarget)
|
gypArguments.append('-Dspecial_build_target=' + officialTarget)
|
||||||
|
if ciBuild:
|
||||||
|
gypArguments.append('-Dci_build=1')
|
||||||
|
|
||||||
if 'TDESKTOP_BUILD_DEFINES' in os.environ:
|
if 'TDESKTOP_BUILD_DEFINES' in os.environ:
|
||||||
buildDefines = os.environ['TDESKTOP_BUILD_DEFINES']
|
buildDefines = os.environ['TDESKTOP_BUILD_DEFINES']
|
||||||
gypArguments.append('-Dbuild_defines=' + buildDefines)
|
gypArguments.append('-Dbuild_defines=' + buildDefines)
|
||||||
|
Submodule Telegram/gyp/helpers updated: 1618540c64...89c9e81482
Reference in New Issue
Block a user