From f666255b1b22c0842d7840f6867dcb8855c6879c Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Sun, 10 Mar 2024 22:46:27 +0800 Subject: [PATCH] Update restore.sh --- restore.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/restore.sh b/restore.sh index 2091817..256d4f7 100755 --- a/restore.sh +++ b/restore.sh @@ -2122,11 +2122,11 @@ ipsw_prepare_jailbreak() { ExtraArgs+=" -bbupdate" elif [[ $device_type == "$device_disable_bbupdate" && $device_type == "iPhone"* ]]; then device_dump baseband - ExtraArgs+=" ../saved/$device_type/baseband.tar" + ExtraArgs+=" ../saved/$device_type/baseband-$device_ecid.tar" fi if [[ $device_actrec == 1 ]]; then device_dump activation - ExtraArgs+=" ../saved/$device_type/activation.tar" + ExtraArgs+=" ../saved/$device_type/activation-$device_ecid.tar" fi if [[ $1 == "iboot" ]]; then ExtraArgs+=" iBoot.tar" @@ -2645,11 +2645,11 @@ ipsw_prepare_32bit() { ExtraArgs+=" -bbupdate" elif [[ $device_type == "$device_disable_bbupdate" && $device_type == "iPhone"* ]]; then device_dump baseband - ExtraArgs+=" ../saved/$device_type/baseband.tar" + ExtraArgs+=" ../saved/$device_type/baseband-$device_ecid.tar" fi if [[ $device_actrec == 1 ]]; then device_dump activation - ExtraArgs+=" ../saved/$device_type/activation.tar" + ExtraArgs+=" ../saved/$device_type/activation-$device_ecid.tar" fi if [[ $ipsw_jailbreak == 1 ]]; then @@ -3232,7 +3232,7 @@ ipsw_prepare_ios4powder() { fi if [[ $device_actrec == 1 ]]; then device_dump activation - ExtraArgs+=" ../saved/$device_type/activation.tar" + ExtraArgs+=" ../saved/$device_type/activation-$device_ecid.tar" fi case $device_target_vers in 4.3.[45] ) :;; @@ -3313,11 +3313,11 @@ ipsw_prepare_powder() { ExtraArgs+=" -bbupdate" elif [[ $device_type == "$device_disable_bbupdate" && $device_type == "iPhone"* ]]; then device_dump baseband - ExtraArgs+=" ../saved/$device_type/baseband.tar" + ExtraArgs+=" ../saved/$device_type/baseband-$device_ecid.tar" fi if [[ $device_actrec == 1 ]]; then device_dump activation - ExtraArgs+=" ../saved/$device_type/activation.tar" + ExtraArgs+=" ../saved/$device_type/activation-$device_ecid.tar" fi if [[ $ipsw_jailbreak == 1 ]]; then