mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-09 08:50:28 +03:00
update: switch to improved androguard detection
This commit is contained in:
parent
f420a037d5
commit
88e24dc4e3
1 changed files with 2 additions and 4 deletions
|
|
@ -1049,11 +1049,9 @@ def scan_apk(apk_file):
|
||||||
'antiFeatures': set(),
|
'antiFeatures': set(),
|
||||||
}
|
}
|
||||||
|
|
||||||
try:
|
if common.use_androguard():
|
||||||
import androguard
|
|
||||||
androguard # silence pyflakes
|
|
||||||
scan_apk_androguard(apk, apk_file)
|
scan_apk_androguard(apk, apk_file)
|
||||||
except ImportError:
|
else:
|
||||||
scan_apk_aapt(apk, apk_file)
|
scan_apk_aapt(apk, apk_file)
|
||||||
|
|
||||||
# Get the signature, or rather the signing key fingerprints
|
# Get the signature, or rather the signing key fingerprints
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue