mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-21 10:41:12 +00:00
Update Telegram.ipa path
This commit is contained in:
parent
3bb622782e
commit
d0e130ec8b
@ -682,10 +682,10 @@ def build(bazel, arguments):
|
||||
os.makedirs(artifacts_path, exist_ok=True)
|
||||
os.makedirs(artifacts_path + '/DSYMs', exist_ok=True)
|
||||
|
||||
built_ipa_path_prefix = 'bazel-out/ios_arm64-opt-ios-arm64-min12.0-applebin_ios-ST-*'
|
||||
ipa_paths = glob.glob('{}/bin/Telegram/Telegram.ipa'.format(built_ipa_path_prefix))
|
||||
built_ipa_path_prefix = 'bazel-bin/Telegram'
|
||||
ipa_paths = glob.glob('{}/Telegram.ipa'.format(built_ipa_path_prefix))
|
||||
if len(ipa_paths) == 0:
|
||||
print('Could not find the IPA at bazel-out/applebin_ios-ios_arm*-opt-ST-*/bin/Telegram/Telegram.ipa')
|
||||
print(f'Could not find the IPA at {built_ipa_path_prefix}/Telegram.ipa')
|
||||
sys.exit(1)
|
||||
elif len(ipa_paths) > 1:
|
||||
print('Multiple matching IPA files found: {}'.format(ipa_paths))
|
||||
|
Loading…
x
Reference in New Issue
Block a user