Last active
December 28, 2015 23:58
-
-
Save BryceCicada/7582333 to your computer and use it in GitHub Desktop.
Revisions
-
Chris Nix revised this gist
Jan 29, 2014 . 1 changed file with 8 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,16 @@ #!/bin/bash ZIP_FILE=`echo $1 | sed 's/.apk/.zip/'` KEYSTORE=~/workspace/we7-Android/Main/release.keystore cp $1 $ZIP_FILE zip -d $ZIP_FILE META-INF/* mv $ZIP_FILE tmp.unsigned.apk echo Resigning APK #/usr/lib/jvm/java-6-openjdk-amd64/bin/jarsigner -keystore ~/.android/debug.keystore -storepass android -keypass android -signedjar tmp.apk $1 androiddebugkey /usr/lib/jvm/java-6-openjdk-amd64/bin/jarsigner -keystore ${KEYSTORE} -storepass Eec9opae4voh -keypass Eec9opae4voh -signedjar tmp.signed.apk tmp.unsigned.apk we7andrel echo Running zipalign ${ANDROID_HOME}/tools/zipalign 4 tmp.signed.apk $2 rm tmp.signed.apk rm tmp.unsigned.apk -
BryceCicada revised this gist
Nov 21, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ echo Resigning APK /usr/lib/jvm/java-6-openjdk-amd64/bin/jarsigner -keystore $2 -storepass $3 -keypass $4 -signedjar tmp.apk $1 androiddebugkey echo Running zipalign /home/chrisn/android-sdk-linux/tools/zipalign 4 tmp.apk Player.signed.apk rm tmp.apk rm $1 mv Player.apk $1 -
BryceCicada revised this gist
Nov 21, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ echo Resigning APK /usr/lib/jvm/java-6-openjdk-amd64/bin/jarsigner -keystore $2 -storepass $3 -keypass $4 -signedjar tmp.apk $1 androiddebugkey echo Running zipalign /home/chrisn/android-sdk-linux/tools/zipalign 4 tmp.apk $1.signed.apk rm tmp.apk rm $1 mv Player.apk $1 -
BryceCicada revised this gist
Nov 21, 2013 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,8 +7,7 @@ zip -d $ZIP_FILE META-INF/* mv $ZIP_FILE $1 echo Resigning APK /usr/lib/jvm/java-6-openjdk-amd64/bin/jarsigner -keystore $2 -storepass $3 -keypass $4 -signedjar tmp.apk $1 androiddebugkey echo Running zipalign /home/chrisn/android-sdk-linux/tools/zipalign 4 tmp.apk Player.signed.apk rm tmp.apk -
BryceCicada created this gist
Nov 21, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ #!/bin/bash ZIP_FILE=`echo $1 | sed 's/.apk/.zip/'` mv $1 $ZIP_FILE zip -d $ZIP_FILE META-INF/* mv $ZIP_FILE $1 echo Resigning APK /usr/lib/jvm/java-6-openjdk-amd64/bin/jarsigner -keystore ~/.android/debug.keystore -storepass android -keypass android -signedjar tmp.apk $1 androiddebugkey #/usr/lib/jvm/java-6-openjdk-amd64/bin/jarsigner -keystore ../release.keystore -storepass Eec9opae4voh -keypass Eec9opae4voh -signedjar tmp.apk $1 we7andrel echo Running zipalign /home/chrisn/android-sdk-linux/tools/zipalign 4 tmp.apk Player.signed.apk rm tmp.apk rm $1 mv Player.apk $1