diff --git a/metadata/in.p1x.tanks_of_freedom.txt b/metadata/in.p1x.tanks_of_freedom.txt index 225e3591cf..216292c205 100644 --- a/metadata/in.p1x.tanks_of_freedom.txt +++ b/metadata/in.p1x.tanks_of_freedom.txt @@ -380,5 +380,29 @@ Build:0.6.0-beta,17 cd ../tof && \ ../godot/bin/godot_server.server.tools.* -export Android ../tof.apk +Build:0.6.1-beta,18 + commit=0.6.1-beta-0-g02440670cf08f733cc67df68e9baecd11355276e + output=tof.apk + srclibs=Godot@2.1-stable-0-gc5e2c83dcd6f3e1be295149c2b2e3d048dbab4c5 + 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