mirror of
https://github.com/izzy2lost/AM2R-Autopatcher-Android.git
synced 2026-06-19 01:20:10 -07:00
Changed the way it downloads the data folder
This commit is contained in:
+2
-4
@@ -48,10 +48,8 @@ if ! [ -f /data/data/com.termux/files/usr/bin/apkmod ]; then
|
|||||||
rm -f setup.sh
|
rm -f setup.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#download the patch data
|
#Download Data Folder
|
||||||
wget https://github.com/izzy2fancy/AM2R-Autopatcher-Android/releases/download/1.0/data.zip
|
wget -r -np -nH --cut-dirs=2 -R "index.html*" "https://github.com/izzy2fancy/AM2R-Autopatcher-Android/tree/main/data"
|
||||||
yes | unzip data.zip -d ./
|
|
||||||
|
|
||||||
|
|
||||||
#check for AM2R_11.zip in downloads
|
#check for AM2R_11.zip in downloads
|
||||||
if [ -f ~/storage/downloads/AM2R_11.zip ]; then
|
if [ -f ~/storage/downloads/AM2R_11.zip ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user