Skip to content

Commit

Permalink
fix install_aab
Browse files Browse the repository at this point in the history
  • Loading branch information
adhu2018 authored Nov 13, 2024
1 parent 38aa4ba commit 30bb64a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xapkInstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,8 @@ def install_aab(device: Device, file: str, del_path: List[str], root: str) -> Tu
sign = read_yaml("./config.yaml")
if sign.get("ks") and sign.get("ks-pass") and sign.get("ks-key-alias") and sign.get("key-pass"):
for i in sign:
build.append(f"--{i}={sign[i]}")
if i in ["ks", "ks-pass", "ks-key-alias", "key-pass"]:
build.append(f"--{i}={sign[i]}")
run = run_msg(build)[0]
if run.returncode:
sys.exit(info_msg['bundletool'])
Expand Down

0 comments on commit 30bb64a

Please sign in to comment.