From 04a974de82e7884bbb42d73449d45c785dadffe4 Mon Sep 17 00:00:00 2001 From: izzy2fancy <121840901+izzy2fancy@users.noreply.github.com> Date: Mon, 5 Feb 2024 01:27:51 -0500 Subject: [PATCH] Update patcher.sh --- patcher.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/patcher.sh b/patcher.sh index 59ecde2..e5a09db 100755 --- a/patcher.sh +++ b/patcher.sh @@ -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