summaryrefslogtreecommitdiffstats
path: root/tools/extract-apk
blob: 3efb76ab15b82eb2d0613e97fe9a5de928e0151b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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