|
|
|
|
@ -35,7 +35,7 @@ echo ""
|
|
|
|
|
echo "-------------------------------------------"
|
|
|
|
|
|
|
|
|
|
#install dependencies
|
|
|
|
|
pkg install -y wget git zip unzip xdelta3
|
|
|
|
|
pkg install -y git zip unzip xdelta3
|
|
|
|
|
|
|
|
|
|
#check if apkmod is instaled, if not install it. I only use this for signing 'cause it's the only way I found this to work
|
|
|
|
|
if ! [ -f /data/data/com.termux/files/usr/bin/apkmod ]; then
|
|
|
|
|
@ -45,7 +45,7 @@ if ! [ -f /data/data/com.termux/files/usr/bin/apkmod ]; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
#download the patch data
|
|
|
|
|
wget https://github.com/izzy2fancy/AM2R-Autopatcher-Android/tree/main/data/
|
|
|
|
|
git clone https://github.com/izzy2fancy/AM2R-Autopatcher-Android.git
|
|
|
|
|
|
|
|
|
|
#check if termux-storage has been setup
|
|
|
|
|
if ! [ -d ~/storage ]; then
|
|
|
|
|
|