From bc03c82e1b616df3aea16f97f33755d8b3dcf948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=95=E3=81=95?= <91324887+sasa8810@users.noreply.github.com> Date: Fri, 15 Sep 2023 19:26:14 +0900 Subject: [PATCH 1/2] Update downr1n.sh --- downr1n.sh | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/downr1n.sh b/downr1n.sh index 4112418..446ec5d 100755 --- a/downr1n.sh +++ b/downr1n.sh @@ -650,16 +650,12 @@ fi # extract ipsw # ========= -# sasa please update your downloader to use wget -#if [ ! -e "ipsw/*.ipsw" ]; then -# echo "[*] Downloading ipsw, it may take few minutes." -# aria2c -x16 -s16 -j16 "$ipswurl" -# mv *.ipsw ipsw -#fi -ipsw=$(ls ipsw/*.ipsw) # put your ipsw - - +if [ ! -e "ipsw/*.ipsw" ]; then + echo "[*] Downloading ipsw, it may take few minutes." + curl -Lo ipsw/$deviceid-$version.ipsw "$ipswurl" "-#" +fi + cd ipsw/ ipsw_files=(*.ipsw) if [[ ${#ipsw_files[@]} -gt 1 ]]; then @@ -669,6 +665,8 @@ if [[ ${#ipsw_files[@]} -gt 1 ]]; then fi cd .. +ipsw=$(ls ipsw/*.ipsw) # put your ipsw + if [ -a $ipsw ] || [ "${ipsw: -5}" == ".ipsw" ]; then echo "[*] Continuing..." else From 7a198548f4166ad596bf921e1f901956a775ec97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=95=E3=81=95?= <91324887+sasa8810@users.noreply.github.com> Date: Fri, 15 Sep 2023 19:37:43 +0900 Subject: [PATCH 2/2] Create .gitignore --- .gitignore | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d826e4a --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +.DS_Store +*/.DS_Store +binaries/Linux/futurerestore +binaries/Darwin/futurerestore +work +ramdisk +boot* +.irecovery +blobs +logs +.rd_in_progress +logs +.disclaimeragree