Changed the way it downloads the data folder

This commit is contained in:
Izzy Kauffman
2024-03-06 07:23:01 -05:00
committed by GitHub
parent fcc60a5fe3
commit addad1c3e8
+2 -4
View File
@@ -48,10 +48,8 @@ if ! [ -f /data/data/com.termux/files/usr/bin/apkmod ]; then
rm -f setup.sh
fi
#download the patch data
wget https://github.com/izzy2fancy/AM2R-Autopatcher-Android/releases/download/1.0/data.zip
yes | unzip data.zip -d ./
#Download Data Folder
wget -r -np -nH --cut-dirs=2 -R "index.html*" "https://github.com/izzy2fancy/AM2R-Autopatcher-Android/tree/main/data"
#check for AM2R_11.zip in downloads
if [ -f ~/storage/downloads/AM2R_11.zip ]; then