mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-09-22 04:35:24 -04:00
skip AndroidManifest.xml and resources when fetching v2+ certs
This commit is contained in:
1 parent
6f5fd2b132
commit
a8fd360a88
1 file changed
+2
-2
@@ -2661,7 +2661,7 @@ def _androguard_logging_level(level=logging.ERROR):
|
||||
pass
|
||||
|
||||
|
||||
def get_androguard_APK(apkfile):
|
||||
def get_androguard_APK(apkfile, skip_analysis=False):
|
||||
try:
|
||||
# these were moved in androguard 4.0
|
||||
from androguard.core.apk import APK
|
||||
@@ -2669,7 +2669,7 @@ def get_androguard_APK(apkfile):
|
||||
from androguard.core.bytecodes.apk import APK
|
||||
_androguard_logging_level()
|
||||
|
||||
return APK(apkfile)
|
||||
return APK(apkfile, skip_analysis=skip_analysis)
|
||||
|
||||
|
||||
def ensure_final_value(packageName, arsc, value):
|
||||
|
||||
Reference in new issue
Block a user