CTC CI: Fix apksigner execution, import requests
This commit is contained in:
parent
50b3f050c4
commit
e464c9a283
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue