mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Fix nativecode in index properly (probably)
This commit is contained in:
parent
6cd5d0d667
commit
c968a2856c
@ -295,7 +295,9 @@ def scan_apks(apps, apkcache, repodir, knownapks):
|
||||
elif line.startswith("sdkVersion:"):
|
||||
thisinfo['sdkversion'] = re.match(sdkversion_pat, line).group(1)
|
||||
elif line.startswith("native-code:"):
|
||||
thisinfo['nativecode'] = list(line[14:-1].split("' '"))
|
||||
thisinfo['nativecode'] = []
|
||||
for arch in line[13:].split(' '):
|
||||
thisinfo['nativecode'].append(arch[1:-1])
|
||||
elif line.startswith("uses-permission:"):
|
||||
perm = re.match(string_pat, line).group(1)
|
||||
if perm.startswith("android.permission."):
|
||||
|
Loading…
Reference in New Issue
Block a user