SuperTux: removed hgacks to save space
This commit is contained in:
@@ -252,7 +252,7 @@ APP_PLATFORM=
|
||||
|
||||
# Specify architectures to compile, 'all' or 'y' to compile for all architectures.
|
||||
# Available architectures: armeabi armeabi-v7a x86 mips arm64-v8a
|
||||
MultiABI='armeabi-v7a' # x86 x86_64 arm64-v8a'
|
||||
MultiABI='armeabi-v7a x86 x86_64 arm64-v8a'
|
||||
|
||||
# Optional shared libraries to compile - removing some of them will save space
|
||||
# MP3 support by libMAD is encumbered by patents and libMAD is GPL-ed
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Reduce .apk file size, at the expense of overlay key themes
|
||||
cp -f ../../../res/raw/ultimatedroid.raw ../../../res/raw/dualshock.raw
|
||||
cp -f ../../../res/raw/ultimatedroid.raw ../../../res/raw/n64.raw
|
||||
cp -f ../../../res/raw/ultimatedroid.raw ../../../res/raw/sun.raw
|
||||
10
project/jni/application/supertux/create-apk-bundle.sh
Executable file
10
project/jni/application/supertux/create-apk-bundle.sh
Executable 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
|
||||
Reference in New Issue
Block a user