2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 11:19:59 +01:00

compile.sh: use shared certificate by default even on release builds

This commit is contained in:
Alibek Omarov 2019-10-07 05:54:56 +03:00
parent 4fa711bfd3
commit a692857fe8

View File

@ -63,14 +63,11 @@ done
# Run waf
./waf build -v|| exit 1
if [ "$BUILD_TYPE" != "debug" ]; then
# sign
if [ "$BUILD_TYPE" != "debug" ] && [ "$USER" = "a1ba" ]; then
# :)
cp build/android/xashdroid.apk xashdroid.apk
# :)
if [ "$USER" = "a1ba" ]; then
apksigner sign --ks ../myks.keystore xashdroid.apk
fi
apksigner sign --ks ../myks.keystore xashdroid.apk
else
cp build/android/xashdroid-signed.apk xashdroid.apk
fi