From 16a36c812fabda812ecf3aaa7f12fa6f44c66b2e Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Fri, 21 Apr 2023 23:50:38 +0100 Subject: Jetpack Compose and material --- default.signed.apk.do | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) mode change 100644 => 100755 default.signed.apk.do (limited to 'default.signed.apk.do') diff --git a/default.signed.apk.do b/default.signed.apk.do old mode 100644 new mode 100755 index c2c5d48..1238d49 --- 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 -- cgit v1.2.3-54-g00ecf