Files
commandergenius/project/jni/application/supertux/AndroidPreBuild.sh
2015-07-23 21:07:50 +03:00

10 lines
368 B
Bash
Executable File

#!/bin/sh
if [ -e supertux/patched.successfully ]; then
exit 0
else
# Google Code fails to send shallow repository, so we're checking out everything
git clone https://github.com/SuperTux/supertux.git && patch -p1 -d supertux < android.diff && touch supertux/patched.successfully || exit 1
ln -sf supertux/data/images/engine/icons/supertux-256x256.png icon.png
fi