Files
commandergenius/project/jni/application/supertux/AndroidPreBuild.sh
Sergii Pylypenko 06fae348e2 SuperTux: updated
2015-12-25 20:50:34 +02:00

12 lines
419 B
Bash
Executable File

#!/bin/sh
if [ -e supertux/patched.successfully ]; then
exit 0
else
git clone https://github.com/SuperTux/supertux.git || exit 1
git -C supertux submodule update --init || exit 1
patch -p1 -d supertux < android.diff && touch supertux/patched.successfully || exit 1
ln -sf supertux/data/images/engine/icons/supertux-256x256.png icon.png
ln -sf ../supertux/data/images/engine/menu/logo.png AndroidData/logo.png
fi