Commit e2214ebc authored by Jochen Sprickerhof's avatar Jochen Sprickerhof
Browse files

Merge branch 'fix-metadata_find_signing_files' into 'master'

fix metadata_find_signing_files()

See merge request !906
parents c43581eb b08d54cb
Pipeline #286597484 passed with stage
in 12 minutes
......@@ -3006,8 +3006,8 @@ def metadata_find_signing_files(appid, vercode):
+ glob.glob(os.path.join(sigdir, '*.RSA'))
)
signature_block_pat = re.compile(r'(\.DSA|\.EC|\.RSA)$')
apk_signing_block = os.path.isfile(os.path.join(sigdir, "APKSigningBlock"))
apk_signing_block_offset = os.path.isfile(os.path.join(sigdir, "APKSigningBlockOffset"))
apk_signing_block = os.path.join(sigdir, "APKSigningBlock")
apk_signing_block_offset = os.path.join(sigdir, "APKSigningBlockOffset")
if os.path.isfile(apk_signing_block) and os.path.isfile(apk_signing_block_offset):
v2_files = apk_signing_block, apk_signing_block_offset
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment