diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-04-21 23:50:38 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-04-21 23:50:38 +0100 |
commit | 16a36c812fabda812ecf3aaa7f12fa6f44c66b2e (patch) | |
tree | ccae60abf8301ae451cfa1f21c33b8a62d5306cf /default.signed.apk.do | |
parent | db091bfd1db36ab66340ccad2eb7b6393a0aa3da (diff) | |
download | android-jetpack-compose-redo-master.tar.gz android-jetpack-compose-redo-master.tar.xz android-jetpack-compose-redo-master.zip |
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 |