summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-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