mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-08 16:30:28 +03:00
implement common.get_apk_id() using androguard
This commit is contained in:
parent
98a2f70e38
commit
27a5cce832
4 changed files with 66 additions and 37 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue