summaryrefslogtreecommitdiff
path: root/platform/android/sign.sh
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-02-09 22:10:30 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-02-09 22:10:30 -0300
commit0b806ee0fc9097fa7bda7ac0109191c9c5e0a1ac (patch)
tree276c4d099e178eb67fbd14f61d77b05e3808e9e3 /platform/android/sign.sh
parent0e49da1687bc8192ed210947da52c9e5c5f301bb (diff)
GODOT IS OPEN SOURCE
Diffstat (limited to 'platform/android/sign.sh')
-rwxr-xr-xplatform/android/sign.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/platform/android/sign.sh b/platform/android/sign.sh
new file mode 100755
index 0000000000..830da05a37
--- /dev/null
+++ b/platform/android/sign.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+jarsigner -digestalg SHA1 -sigalg MD5withRSA -verbose -keystore my-release-key.keystore "$1" reduz
+
+echo ""
+echo ""
+echo "Checking if APK is verified..."
+jarsigner -verify "$1" -verbose -certs
+