We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 770028c commit aa8c464Copy full SHA for aa8c464
apktool/install
@@ -1,8 +1,11 @@
1
#!/bin/bash -ex
2
+VERSION=2.2.4
3
+
4
mkdir bin
5
+cd bin
6
wget https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool
-wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.2.2.jar
-mv apktool_2.2.2.jar bin/apktool.jar
-mv apktool bin/
7
-chmod 755 bin/apktool
8
-chmod 755 bin/apktool.jar
+wget "https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_$VERSION.jar"
+ln -s "apktool_$VERSION.jar" apktool.jar
9
+chmod 755 apktool
10
+chmod 755 apktool.jar
11
+cd ..
0 commit comments