Skip to content

Commit

Permalink
Fix a gasgauge patch ipsw create condition
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Feb 21, 2025
1 parent 95ae69a commit 3d10c1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;;
Expand Down

0 comments on commit 3d10c1b

Please sign in to comment.