From 3d10c1b035721096e2af419e4abe6c03709429da Mon Sep 17 00:00:00 2001 From: LukeeGD <26163116+LukeZGD@users.noreply.github.com> Date: Fri, 21 Feb 2025 14:26:51 +0800 Subject: [PATCH] Fix a gasgauge patch ipsw create condition --- restore.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index b0e183a..cd995a0 100755 --- a/restore.sh +++ b/restore.sh @@ -5539,7 +5539,8 @@ ipsw_prepare() { 4 ) if [[ $device_target_tethered == 1 ]]; then ipsw_prepare_tethered - elif [[ $device_target_other == 1 ]] || [[ $device_target_vers == "$device_latest_vers" && $ipsw_jailbreak == 1 ]]; then + elif [[ $device_target_other == 1 || $ipsw_gasgauge_patch == 1 ]] || + [[ $device_target_vers == "$device_latest_vers" && $ipsw_jailbreak == 1 ]]; then case $device_type in iPhone2,1 ) ipsw_prepare_jailbreak;; iPod2,1 ) ipsw_prepare_custom;;