SDL: reducing .apk file size
This commit is contained in:
@@ -1067,7 +1067,7 @@ rm -rf project/bin/res
|
||||
rm -rf project/res/drawable-xhdpi/ouya_icon.png
|
||||
if which convert > /dev/null; then
|
||||
mkdir -p project/res/drawable-xhdpi
|
||||
convert project/res/drawable/icon.png -resize '732x412!' project/res/drawable-xhdpi/ouya_icon.png
|
||||
convert project/res/drawable/icon.png -resize '732x412' -background none -gravity center -extent '732x412' project/res/drawable-xhdpi/ouya_icon.png
|
||||
else
|
||||
echo "Install ImageMagick to auto-resize Ouya icon from icon.png"
|
||||
fi
|
||||
|
||||
@@ -21,10 +21,10 @@ AppVersionName="0.5.0.16"
|
||||
AppDataDownloadUrl="!SSL certificates|:ca-certificates.crt:ca-certificates.crt"
|
||||
|
||||
# Reset SDL config when updating application to the new version (y) / (n)
|
||||
ResetSdlConfigForThisVersion=y
|
||||
ResetSdlConfigForThisVersion=n
|
||||
|
||||
# Delete application data files when upgrading (specify file/dir paths separated by spaces)
|
||||
DeleteFilesOnUpgrade="data.zip"
|
||||
DeleteFilesOnUpgrade="libsdl-DownloadFinished-0.flag"
|
||||
|
||||
# Here you may type readme text, which will be shown during startup. Format is:
|
||||
# Text in English, use \\\\n to separate lines (that's four backslashes)^de:Text in Deutsch^ru:Text in Russian^button:Button that will open some URL:http://url-to-open/
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
@@ -1 +0,0 @@
|
||||
../supertux/data/images/background/bluemountain-middle.png
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd supertux/data || exit 1
|
||||
zip -r -n .png:.ogg:.jpg $1 * || exit 1
|
||||
#zip -r -n .png:.ogg:.jpg $1 * || exit 1
|
||||
zip -r -9 $1 * || exit 1
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
#!/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
|
||||
Submodule project/jni/application/supertux/supertux updated: 4db9d64305...26425d8a1b
@@ -1,4 +1,4 @@
|
||||
#ifndef VERSION_H
|
||||
#define VERSION_H
|
||||
#define PACKAGE_VERSION "v0.4.0"
|
||||
#define PACKAGE_VERSION "v0.5.0"
|
||||
#endif
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 136 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 455 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 122 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 421 KiB |
Reference in New Issue
Block a user