cs16-client-legacy/android/build.sh

17 lines
797 B
Bash
Raw Normal View History

2015-11-07 23:21:09 +01:00
#!/bin/sh
2016-01-30 20:35:21 +01:00
mkdir -p pak/
mkdir -p assets/
2016-02-07 17:56:20 +01:00
cp -vr ../3rdparty/extras/* pak/
#cp -vr extras_src/CS16Client_vgui_buy_classic/touch/* pak/touch/
#cp -vr extras_src/CS16client_vgui_radio/touch/* pak/touch/
#cp -vr extras_src/CS16Client_vgui_team_classic/touch/* pak/touch/
2016-01-30 20:35:21 +01:00
python2 makepak.py pak/ assets/extras.pak
2016-01-29 12:38:51 +01:00
ndk-build NDK_TOOLCHAIN_VERSION=4.8 NDK_DEBUG=0 V=0 -j2
2015-11-07 23:21:09 +01:00
ant debug
#jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ../../myks.keystore bin/cs16-client-release-unsigned.apk xashdroid -tsa https://timestamp.geotrust.com/tsa
#/home/a1ba/.android/android-sdk-linux/build-tools/22.0.1/zipalign 4 bin/cs16-client-release-unsigned.apk bin/cs16-client.apk
#adb install -r -f bin/cs16-client-debug.apk
mv bin/cs16-client-debug.apk cs16-client-debug-`date +"%d-%m-%y-%H-%M"`.apk