mirror of
https://github.com/izzy2lost/AM2R-Autopatcher-Android.git
synced 2026-06-19 01:20:10 -07:00
Update patcher.sh
This commit is contained in:
+5
-4
@@ -35,7 +35,8 @@ echo ""
|
||||
echo "-------------------------------------------"
|
||||
|
||||
#install dependencies
|
||||
pkg install -y git zip unzip xdelta3
|
||||
termux-setup-storage
|
||||
pkg install -y 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,9 +46,9 @@ if ! [ -f /data/data/com.termux/files/usr/bin/apkmod ]; then
|
||||
fi
|
||||
|
||||
#download the patch data
|
||||
git clone https://github.com/izzy2fancy/AM2R-Autopatcher-Android.git
|
||||
cd AM2R-Autopatcher-Android
|
||||
termux-setup-storage
|
||||
wget https://github.com/izzy2fancy/AM2R-Autopatcher-Android/releases/download/1.0/data.zip
|
||||
yes | unzip data.zip -d ./
|
||||
|
||||
|
||||
#check for AM2R_11.zip in downloads
|
||||
if [ -f ~/storage/downloads/AM2R_11.zip ]; then
|
||||
|
||||
Reference in New Issue
Block a user