SuperTux: removed hgacks to save space

This commit is contained in:
Sergii Pylypenko
2018-06-29 23:02:49 +03:00
parent e700d64cfb
commit d98d33b244
4 changed files with 12 additions and 8 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/sh
OUT=`pwd`/../../../../SuperTux-with-data.apk
rm -f $OUT $OUT-aligned
cp ../../../../project/app/build/outputs/apk/app-release.apk $OUT || exit 1
cd supertux/data || exit 1
zip -r -9 $OUT * || exit 1
zipalign 4 $OUT $OUT-aligned || exit 1
apksigner sign --ks ~/.android/debug.keystore --ks-key-alias androiddebugkey --ks-pass pass:android $OUT-aligned || exit 1
mv $OUT-aligned $OUT