1
0

android: pass keystore password as argument to make_apk.

export does not work because it runs in a container.

also, check password using keytool
This commit is contained in:
ThomasV
2022-09-27 20:12:02 +02:00
parent b5900eae98
commit dc78ba3c04
2 changed files with 6 additions and 4 deletions

View File

@@ -53,6 +53,8 @@ fi
if [[ "$3" == "release" ]] ; then
# do release build, and sign the APKs.
TARGET="release"
export P4A_RELEASE_KEYSTORE_PASSWD="$4"
export P4A_RELEASE_KEYALIAS_PASSWD="$4"
export P4A_RELEASE_KEYSTORE=~/.keystore
export P4A_RELEASE_KEYALIAS=electrum
if [ -z "$P4A_RELEASE_KEYSTORE_PASSWD" ] || [ -z "$P4A_RELEASE_KEYALIAS_PASSWD" ]; then