From a692857fe8352d4ff0a2d4a30a8621a883f3f1a0 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 7 Oct 2019 05:54:56 +0300 Subject: [PATCH] compile.sh: use shared certificate by default even on release builds --- compile.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/compile.sh b/compile.sh index 83e93227..3d1f3ec9 100755 --- a/compile.sh +++ b/compile.sh @@ -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