From 851eee4581e9cc53d495404bcf723a279de6ef7b Mon Sep 17 00:00:00 2001 From: est31 Date: Fri, 17 Mar 2017 17:39:44 +0100 Subject: [PATCH] Update Tanks of Freedom to 0.6.3-beta --- metadata/in.p1x.tanks_of_freedom.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/metadata/in.p1x.tanks_of_freedom.txt b/metadata/in.p1x.tanks_of_freedom.txt index 216292c205..80f4628576 100644 --- a/metadata/in.p1x.tanks_of_freedom.txt +++ b/metadata/in.p1x.tanks_of_freedom.txt @@ -404,5 +404,29 @@ Build:0.6.1-beta,18 cd ../tof && \ ../godot/bin/godot_server.server.tools.* -export Android ../tof.apk +Build:0.6.3-beta,20 + commit=0.6.3-beta-0-g4f436c36b09db1a47d062020dfd8a2c0d0a9ef39 + output=tof.apk + srclibs=Godot@2.1.2-stable-0-gc508b5b2e14c43a6e7a629f0d655a0e5ddcd6cd7 + prebuild=mkdir tof && \ + bash -O extglob -c "mv !(tof) tof" && \ + cp tof/buildConfig/engine_android.cfg tof/engine.cfg && \ + cp tof/buildConfig/export_android.cfg.dist tof/export.cfg && \ + sed -i 's,\(package/unique_name=\).*$,\1"in.p1x.tanks_of_freedom",;s,\(version/code\).*$,\1=$$VERCODE$$,;s,\(version/name=\).*$,\1"$$VERSION$$",;s,\(package/signed\).*$,\1=false,' tof/export.cfg && \ + cp -R $$Godot$$ godot + target=android-19 + build=cd godot && \ + scons -j 4 p=server unix_global_settings_path=".." && \ + export ANDROID_NDK_ROOT=$$NDK$$ && \ + scons -j 4 p=android target=release && \ + pushd platform/android/java/ && \ + gradle assembleRelease && \ + popd && \ + export HOME=$PWD && \ + mkdir -p ../templates/ && \ + cp bin/android_release.apk ../templates && \ + cd ../tof && \ + ../godot/bin/godot_server.server.tools.* -export Android ../tof.apk + Auto Update Mode:None Update Check Mode:None