mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-09 02:41:06 +03:00
Fix nativecode in index properly (probably)
This commit is contained in:
parent
6cd5d0d667
commit
c968a2856c
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue