init: enable apksigner by default if it is found

This commit is contained in:
Hans-Christoph Steiner 2021-01-25 23:27:24 +01:00
parent 197ca7e36f
commit 32a0c61010
4 changed files with 32 additions and 2 deletions

View file

@ -148,7 +148,9 @@ def main():
# enable apksigner by default so v2/v3 APK signatures validate
if common.find_apksigner() is not None:
test_config['apksigner'] = common.find_apksigner()
apksigner = common.find_apksigner()
test_config['apksigner'] = apksigner
common.write_to_config(test_config, 'apksigner', apksigner)
# the NDK is optional and there may be multiple versions of it, so it's
# left for the user to configure