implement common.get_apk_id() using androguard

This commit is contained in:
Hans-Christoph Steiner 2018-05-03 13:33:37 +02:00
parent 98a2f70e38
commit 27a5cce832
4 changed files with 66 additions and 37 deletions

View file

@ -36,7 +36,7 @@ def extract_signature(apkpath):
raise FDroidException("no valid signature in '{}'".format(apkpath))
logging.debug('signature okay: %s', apkpath)
appid, vercode, _ignored = common.get_apk_id_aapt(apkpath)
appid, vercode, _ignored = common.get_apk_id(apkpath)
sigdir = common.metadata_get_sigdir(appid, vercode)
if not os.path.exists(sigdir):
os.makedirs(sigdir)