mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Enable CarPlay
This commit is contained in:
parent
a675cf1e65
commit
dbfe4dc9d9
@ -277,6 +277,12 @@ official_unrestricted_voip_fragment = """
|
||||
"""
|
||||
unrestricted_voip_fragment = official_unrestricted_voip_fragment if telegram_bundle_id in official_bundle_ids else ""
|
||||
|
||||
official_carplay_fragment = """
|
||||
<key>com.apple.developer.carplay-messaging</key>
|
||||
<true/>
|
||||
"""
|
||||
carplay_fragment = official_carplay_fragment if telegram_bundle_id in official_bundle_ids else ""
|
||||
|
||||
telegram_entitlements_template = """
|
||||
<key>com.apple.developer.icloud-services</key>
|
||||
<array>
|
||||
@ -304,7 +310,7 @@ telegram_entitlements_template = """
|
||||
<string>{telegram_team_id}.{telegram_bundle_id}</string>
|
||||
<key>com.apple.developer.icloud-container-environment</key>
|
||||
<string>{telegram_icloud_environment}</string>
|
||||
""" + apple_pay_merchants_fragment + unrestricted_voip_fragment
|
||||
""" + apple_pay_merchants_fragment + unrestricted_voip_fragment + carplay_fragment
|
||||
|
||||
plist_fragment(
|
||||
name = "TelegramEntitlements",
|
||||
|
Loading…
x
Reference in New Issue
Block a user