diff options
Diffstat (limited to 'default.signed.apk.do')
-rwxr-xr-x[-rw-r--r--] | default.signed.apk.do | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/default.signed.apk.do b/default.signed.apk.do index c2c5d48..1238d49 100644..100755 --- a/default.signed.apk.do +++ b/default.signed.apk.do @@ -1,10 +1,6 @@ #!/usr/bin/env bash set -e -src=${1%.signed.apk}.apk -redo-ifchange .vars.rc -. ./.vars.rc -if [[ $KEYSTORE_PASS =~ ^file: ]]; then redo-ifchange "${KEYSTORE_PASS#file:}"; fi -redo-ifchange "$BUILD_TOOLS/apksigner" "$KEYSTORE" "$src" -"$BUILD_TOOLS/apksigner" sign --ks "$KEYSTORE" --ks-pass "$KEYSTORE_PASS" "${APKSIGNER_SIGN_ARGS[@]}" --out "$3" "$src" -rm "$3.idsig" +src=${1%.apk}.zip +redo-ifchange "$src" +7z e -so "$src" app.apk >"$3" # vim:ft=bash |