diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-07 12:49:56 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-07 12:49:56 +0100 |
commit | 1ecc5abda207f70b0054415fa9abe9c5423c2206 (patch) | |
tree | 844b2c46f76bb0e591446132dc9484090f62e5e2 | |
parent | f925ab8c400bcc3d63bd3050ca539703737ce5f9 (diff) | |
download | RustAndDust-1ecc5abda207f70b0054415fa9abe9c5423c2206.zip RustAndDust-1ecc5abda207f70b0054415fa9abe9c5423c2206.tar.gz |
run: clean first1.0.1
-rwxr-xr-x | run | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,6 +6,7 @@ ALIAS=jeyzu KEYSTORE="/home/jeyzu/etc/sync/jeyzu-key.keystore" APK="./android/build/apk/android-release-unsigned.apk" ZIPALIGN="/opt/android-sdk/build-tools/23.0.2/zipalign" +APK_OUT="./RustAndDust-signed-aligned.apk" function gradlew_do() { @@ -36,7 +37,8 @@ case "$1" in gradlew_do jarsigner -verbose -tsa http://timestamp.digicert.com -sigalg SHA1withRSA -digestalg SHA1 -keystore $KEYSTORE $APK $ALIAS jarsigner -verify $APK - $ZIPALIGN -v 4 $APK ./RustAndDust-signed-aligned.apk + [ -f $APK_OUT ] && rm $APK_OUT + $ZIPALIGN -v 4 $APK $APK_OUT ;; "t") shift; |