1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

ipa: add Usage permissions

This commit is contained in:
Jochen Sprickerhof 2022-12-09 11:47:06 +01:00 committed by Hans-Christoph Steiner
parent 77daf6feb6
commit a987341c37

View File

@ -565,6 +565,7 @@ def process_ipa(repodir, apks):
ipa["packageName"] = plist["CFBundleIdentifier"]
ipa["versionCode"] = major * 10**12 + minor * 10**6 + patch
ipa["versionName"] = plist["CFBundleShortVersionString"]
ipa["usage"] = {k: v for k, v in plist.items() if 'Usage' in k}
def translate_per_build_anti_features(apps, apks):