Skip to content

Commit

Permalink
Fix iOS 4 stuff with the powdersn0w changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Feb 12, 2024
1 parent f82a470 commit 6f267f1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2225,14 +2225,23 @@ ipsw_prepare_paths() {
local str2
if [[ $2 == "target" ]]; then
case $comp in
"NewAppleLogo" ) str2="${name/AppleLogo/NewAppleLogo}";;
"NewAppleLogo" )
if [[ $device_target_vers != "4"* ]]; then
str+="$str2"
fi
;;
"AppleLogo" ) str2="${name/applelogo/applelogo7}";;
"APTicket" ) str2="${name/applelogo/applelogoT}";;
"RecoveryMode" ) str2="${name/recoverymode/recoverymode7}";;
"NewiBoot" ) str2="${name/iBoot/iBoot2}";;
esac
case $comp in
*"AppleLogo" ) str+="$str2";;
"AppleLogo" )
str+="$str2"
if [[ $device_target_vers == "4"* ]]; then
echo "$str2" >> $FirmwareBundle/manifest
fi
;;
"APTicket" | "RecoveryMode" )
str+="$str2"
echo "$str2" >> $FirmwareBundle/manifest
Expand Down

0 comments on commit 6f267f1

Please sign in to comment.