|
|
|
|
@ -35,7 +35,7 @@ echo ""
|
|
|
|
|
echo "-------------------------------------------"
|
|
|
|
|
|
|
|
|
|
#install dependencies
|
|
|
|
|
pkg install -y subversion zip unzip xdelta3 libuuid wget
|
|
|
|
|
pkg install -y subversion 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
|
|
|
|
|
svn export https://github.com/izzy2fancy/AM2R-Autopatcher-Android/raw/main/data/droid.xdelta
|
|
|
|
|
svn export https://github.com/izzy2fancy/AM2R-Autopatcher-Android/tree/main/data
|
|
|
|
|
|
|
|
|
|
#check if termux-storage has been setup
|
|
|
|
|
if ! [ -d ~/storage ]; then
|
|
|
|
|
|