summaryrefslogtreecommitdiffstats
path: root/tools/extract-apk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-02-22 15:14:02 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-02-22 15:14:02 +0100
commit925a967f1316195af52f09f5f6dc29ed9c1a6ed1 (patch)
treeca9729d233fae36d7adc5cb5af64a557f53ee836 /tools/extract-apk
parent0c7780580c22693a6686e6b5435ef5588b4c655b (diff)
downloadRustAndDust-925a967f1316195af52f09f5f6dc29ed9c1a6ed1.zip
RustAndDust-925a967f1316195af52f09f5f6dc29ed9c1a6ed1.tar.gz
add tools/extract-apk
Diffstat (limited to 'tools/extract-apk')
-rwxr-xr-xtools/extract-apk15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/extract-apk b/tools/extract-apk
new file mode 100755
index 0000000..3efb76a
--- /dev/null
+++ b/tools/extract-apk
@@ -0,0 +1,15 @@
+#! /bin/bash
+
+APK="./RustAndDust-signed-aligned.apk"
+DIR=apk
+
+[ -d $DIR ] && rm -fr $DIR
+mkdir $DIR
+cd $DIR
+
+unzip -x ../$APK
+dex2jar classes.dex
+
+mkdir classes
+cd classes
+unzip -x ../classes-dex2jar.jar