abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
authorJules Aguillon2022-01-20 21:21:27 +0100
committerJules Aguillon2022-01-20 21:21:27 +0100
commit38adf7d7b902ef648b0edaf98ff541e4256144e8 (patch)
treebbdbc98eaf8c8851193a8a33f8304171ea44433e
parent9485770372bb6e62bceb27767cb7d0a8ac8389bc (diff)
downloadunexpected-keyboard-38adf7d7b902ef648b0edaf98ff541e4256144e8.tar.gz
unexpected-keyboard-38adf7d7b902ef648b0edaf98ff541e4256144e8.zip
Makefile: Sign the debug apk with scheme v2
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 268c48f..6b873e4 100644
--- a/Makefile
+++ b/Makefile
@@ -55,9 +55,8 @@ $(DEBUG_KEYSTORE):
-keyalg rsa -storepass $(DEBUG_PASSWD) -validity 10000
_build/%.debug.apk: _build/%.debug.unsigned-apk $(DEBUG_KEYSTORE)
- jarsigner -keystore $(DEBUG_KEYSTORE) \
- -storepass $(DEBUG_PASSWD) -keypass $(DEBUG_PASSWD) \
- -signedjar "$@" "$<" debug
+ apksigner sign --in "$<" --out "$@" \
+ --ks $(DEBUG_KEYSTORE) --ks-key-alias debug --ks-pass "pass:$(DEBUG_PASSWD)"
# Debug apk