1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 18:50:11 +02:00

Add 'nativecode' field to apks which use it

This commit is contained in:
Daniel Martí 2013-06-17 18:20:29 +02:00
parent 2f5da8ed91
commit d3ac6899ff

View File

@ -530,6 +530,8 @@ def make_index(apps, apks, repodir, archive, categories):
perms = "" perms = ""
if len(apk['permissions']) > 0: if len(apk['permissions']) > 0:
addElement('permissions', ','.join(apk['permissions']), doc, apkel) addElement('permissions', ','.join(apk['permissions']), doc, apkel)
if len(apk['nativecode']) > 0:
addElement('nativecode', ','.join(apk['nativecode']), doc, apkel)
if len(apk['features') > 0: if len(apk['features') > 0:
addElement('features', ','.join(apk['features']), doc, apkel) addElement('features', ','.join(apk['features']), doc, apkel)