project_files/Android-build/Templates/pushToDevice.sh
author Xeli
Thu, 01 Sep 2011 14:55:31 +0200
branchhedgeroid
changeset 5671 ba4c3a4c8b09
parent 5381 8f95038f3f75
child 5729 9f060d9dae41
permissions -rwxr-xr-x
Check if we need to download and prevent user from reaching the startgame menu because it needs images from the download

#!/bin/sh

${ANDROID_SDK}/platform-tools/adb push ./out/libhwengine.so /sdcard/libhwengine.so
${ANDROID_SDK}/platform-tools/adb shell "su -c \"cat /sdcard/libhwengine.so > /data/data/org.hedgewars/lib/libhwengine.so \""