SuperTux: updated scripts
This commit is contained in:
@@ -11,6 +11,10 @@ OUT=`pwd`/../../../../SuperTux-with-data.apk
|
|||||||
DATAZIP=`pwd`/../../../../SuperTux-data.zip
|
DATAZIP=`pwd`/../../../../SuperTux-data.zip
|
||||||
rm -f $OUT $OUT-aligned
|
rm -f $OUT $OUT-aligned
|
||||||
cd supertux/data || exit 1
|
cd supertux/data || exit 1
|
||||||
|
if [ -e $HOME/.local/share/supertux2/tilecache ]; then
|
||||||
|
mkdir -p tilecache
|
||||||
|
cp -f $HOME/.local/share/supertux2/tilecache/* tilecache/
|
||||||
|
fi
|
||||||
cp -f ../../../../../../project/app/build/outputs/apk/release/app-release.apk $OUT || exit 1
|
cp -f ../../../../../../project/app/build/outputs/apk/release/app-release.apk $OUT || exit 1
|
||||||
if zipmerge -h >/dev/null; then
|
if zipmerge -h >/dev/null; then
|
||||||
[ -e $DATAZIP ] || zip -r -9 $DATAZIP * || exit 1
|
[ -e $DATAZIP ] || zip -r -9 $DATAZIP * || exit 1
|
||||||
|
|||||||
Submodule project/jni/application/supertux/supertux updated: 51b2ebaa1f...1e6b85548f
@@ -110,7 +110,7 @@ SDL2 will generate additional mouse events for touchscreen and touch events for
|
|||||||
SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "0");
|
SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "0");
|
||||||
|
|
||||||
SDL2 will not terminate the app process and will not unload shared libraries when your main() / SDL_main() function returns,
|
SDL2 will not terminate the app process and will not unload shared libraries when your main() / SDL_main() function returns,
|
||||||
when the app is launched again your main() will be called again without clearing global and static variables.
|
when the app is launched again your main() will be called twice without clearing global and static variables.
|
||||||
To prevent this, call exit() or _exit() instead of returning from main().
|
To prevent this, call exit() or _exit() instead of returning from main().
|
||||||
|
|
||||||
SDL2 by default does not allow internet access in the AndroidManifest.xml, to fix this copy the patch file
|
SDL2 by default does not allow internet access in the AndroidManifest.xml, to fix this copy the patch file
|
||||||
|
|||||||
Reference in New Issue
Block a user