Resolve Swiftgram build variables

This commit is contained in:
Kylmakalle
2025-05-01 22:23:30 +03:00
parent 5e43306965
commit 0b62196e78
2 changed files with 15 additions and 4 deletions

View File

@@ -52,7 +52,8 @@ def generate_xcodeproj(build_environment: BuildEnvironment, disable_extensions,
file.write('build ' + argument + '\n')
call_executable(bazel_generate_arguments)
if app_target_spec == "Telegram:Telegram": # MARK: Swiftgram
app_target_spec = "Telegram/Swiftgram"
xcodeproj_path = '{}.xcodeproj'.format(app_target_spec.replace(':', '/'))
return xcodeproj_path