SuperTux: updated scripts

This commit is contained in:
Sergii Pylypenko
2022-01-09 21:18:16 +02:00
parent 47e6527a6f
commit 7dae18fa7d
3 changed files with 6 additions and 2 deletions

View File

@@ -11,6 +11,10 @@ OUT=`pwd`/../../../../SuperTux-with-data.apk
DATAZIP=`pwd`/../../../../SuperTux-data.zip
rm -f $OUT $OUT-aligned
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
if zipmerge -h >/dev/null; then
[ -e $DATAZIP ] || zip -r -9 $DATAZIP * || exit 1