android: sign debug builds with debug key
This commit is contained in:
parent
949c9e278b
commit
8d9d9fd682
2 changed files with 11 additions and 6 deletions
|
@ -17,8 +17,9 @@ def build(bld):
|
|||
bld(features = 'android javac',
|
||||
srcdir = 'src',
|
||||
compat = '1.6',
|
||||
name = 'xashdroid-src',
|
||||
name = 'xashdroid',
|
||||
jni = 'lib',
|
||||
keystore = bld.path.parent.find_node('debug.keystore'),
|
||||
debug = bld.env.D8_DEBUG,
|
||||
target_api = 19)
|
||||
return
|
||||
|
|
14
compile.sh
14
compile.sh
|
@ -63,10 +63,14 @@ done
|
|||
# Run waf
|
||||
./waf build -v|| exit 1
|
||||
|
||||
# sign
|
||||
cp build/android/xashdroid-src.apk xashdroid.apk
|
||||
if [ "$BUILD_TYPE" != "debug" ]; then
|
||||
# sign
|
||||
cp build/android/xashdroid.apk xashdroid.apk
|
||||
|
||||
# :)
|
||||
if [ "$USER" = "a1ba" ]; then
|
||||
apksigner sign --ks ../myks.keystore xashdroid.apk
|
||||
# :)
|
||||
if [ "$USER" = "a1ba" ]; then
|
||||
apksigner sign --ks ../myks.keystore xashdroid.apk
|
||||
fi
|
||||
else
|
||||
cp build/android/xashdroid-signed.apk xashdroid.apk
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue