From e464c9a283be8c4d990cc773df6017532396e69d Mon Sep 17 00:00:00 2001 From: eatsfoobars Date: Tue, 26 Nov 2019 22:53:26 +0000 Subject: [PATCH] CTC CI: Fix apksigner execution, import requests --- ctcci/ctcci.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ctcci/ctcci.py b/ctcci/ctcci.py index b2c2c5cf6..e69296f86 100644 --- a/ctcci/ctcci.py +++ b/ctcci/ctcci.py @@ -2,6 +2,7 @@ import os import sys import shutil +import requests import json import subprocess from ctcconfig import * @@ -231,9 +232,9 @@ APK_PATH = os.path.join(WORK_FOLDER, "discord", # Sign the APK if DO_APKSIGNER: - subprocess.run(f"apksigner sign --ks {KEYSTORE_FILE}" + subprocess.run(f"apksigner sign --ks {KEYSTORE_FILE} " f"--ks-key-alias {KEYSTORE_ALIAS} " - f"--ks-pass pass:{KEYSTORE_PASS}" + f"--ks-pass pass:{KEYSTORE_PASS} " f"{APK_PATH}", shell=True, cwd=WORK_FOLDER)