Merge branch 'ctcci-fixes' of eatsfoobars/cutthecord into master

This commit is contained in:
ave 2019-11-27 06:08:32 +00:00 committed by Gitea
commit 4bf12e1e2b

View file

@ -2,6 +2,7 @@
import os import os
import sys import sys
import shutil import shutil
import requests
import json import json
import subprocess import subprocess
from ctcconfig import * from ctcconfig import *
@ -231,9 +232,9 @@ APK_PATH = os.path.join(WORK_FOLDER, "discord",
# Sign the APK # Sign the APK
if DO_APKSIGNER: 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-key-alias {KEYSTORE_ALIAS} "
f"--ks-pass pass:{KEYSTORE_PASS}" f"--ks-pass pass:{KEYSTORE_PASS} "
f"{APK_PATH}", f"{APK_PATH}",
shell=True, shell=True,
cwd=WORK_FOLDER) cwd=WORK_FOLDER)