Fix entitlements

This commit is contained in:
Ilya Laktyushin 2022-08-13 14:18:24 +03:00
parent c5e1f9b645
commit e30410fb35

View File

@ -417,6 +417,10 @@ official_bundle_ids = [
"org.telegram.Telegram-iOS", "org.telegram.Telegram-iOS",
] ]
store_bundle_ids = [
"ph.telegra.Telegraph",
]
apple_pay_merchants = official_apple_pay_merchants if telegram_bundle_id == "ph.telegra.Telegraph" else [] apple_pay_merchants = official_apple_pay_merchants if telegram_bundle_id == "ph.telegra.Telegraph" else []
apple_pay_merchants_fragment = "" if apple_pay_merchants == [] else """ apple_pay_merchants_fragment = "" if apple_pay_merchants == [] else """
@ -492,12 +496,13 @@ communication_notifications_fragment = """
<true/> <true/>
""" """
signin_fragment = """ store_signin_fragment = """
<key>com.apple.developer.applesignin</key> <key>com.apple.developer.applesignin</key>
<array> <array>
<string>Default</string> <string>Default</string>
</array> </array>
""" """
signin_fragment = store_signin_fragment if telegram_bundle_id in store_bundle_ids else ""
plist_fragment( plist_fragment(
name = "TelegramEntitlements", name = "TelegramEntitlements",