Skip to content

Commit

Permalink
bump apktool & ndk
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiTheModder authored Nov 7, 2024
1 parent 3bd884a commit 04ea6c4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dex2c_install_termux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ elif [ -d "$HOME/android-sdk/ndk/24.0.8215888" ]; then
ndk_version="24.0.8215888"
elif [ -d "$HOME/android-sdk/ndk/26.1.10909125" ]; then
ndk_version="26.1.10909125"
elif [ -d "$HOME/android-sdk/ndk/27.1.12297006" ]; then
ndk_version="27.1.12297006"
else
echo "${red}You didn't Installed any ndk terminating!"
exit 1
Expand All @@ -91,7 +93,7 @@ echo "${green}━━━ Setting up apktool ━━━${nocolor}"
if [ -f "$PREFIX/bin/apktool.jar" ]; then
echo "${blue}apktool is already installed${nocolor}"
else
sh -c 'wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.9.1.jar -O $PREFIX/bin/apktool.jar'
sh -c 'wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.10.0.jar -O $PREFIX/bin/apktool.jar'

chmod +r $PREFIX/bin/apktool.jar

Expand All @@ -112,7 +114,7 @@ if [ -f "$HOME/dex2c/tools/apktool.jar" ]; then
rm $HOME/dex2c/tools/apktool.jar
cp $PREFIX/bin/apktool.jar $HOME/dex2c/tools/apktool.jar
else
sh -c 'wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.9.1.jar -O $HOME/dex2c/tools/apktool.jar'
sh -c 'wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.10.0.jar -O $HOME/dex2c/tools/apktool.jar'
fi

cd ~/dex2c
Expand Down

0 comments on commit 04ea6c4

Please sign in to comment.