mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-30 11:54:18 +01:00
Fix iOS 4 stuff with the powdersn0w changes
This commit is contained in:
parent
f82a470994
commit
6f267f1d30
13
restore.sh
13
restore.sh
@ -2225,14 +2225,23 @@ ipsw_prepare_paths() {
|
|||||||
local str2
|
local str2
|
||||||
if [[ $2 == "target" ]]; then
|
if [[ $2 == "target" ]]; then
|
||||||
case $comp in
|
case $comp in
|
||||||
"NewAppleLogo" ) str2="${name/AppleLogo/NewAppleLogo}";;
|
"NewAppleLogo" )
|
||||||
|
if [[ $device_target_vers != "4"* ]]; then
|
||||||
|
str+="$str2"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
"AppleLogo" ) str2="${name/applelogo/applelogo7}";;
|
"AppleLogo" ) str2="${name/applelogo/applelogo7}";;
|
||||||
"APTicket" ) str2="${name/applelogo/applelogoT}";;
|
"APTicket" ) str2="${name/applelogo/applelogoT}";;
|
||||||
"RecoveryMode" ) str2="${name/recoverymode/recoverymode7}";;
|
"RecoveryMode" ) str2="${name/recoverymode/recoverymode7}";;
|
||||||
"NewiBoot" ) str2="${name/iBoot/iBoot2}";;
|
"NewiBoot" ) str2="${name/iBoot/iBoot2}";;
|
||||||
esac
|
esac
|
||||||
case $comp in
|
case $comp in
|
||||||
*"AppleLogo" ) str+="$str2";;
|
"AppleLogo" )
|
||||||
|
str+="$str2"
|
||||||
|
if [[ $device_target_vers == "4"* ]]; then
|
||||||
|
echo "$str2" >> $FirmwareBundle/manifest
|
||||||
|
fi
|
||||||
|
;;
|
||||||
"APTicket" | "RecoveryMode" )
|
"APTicket" | "RecoveryMode" )
|
||||||
str+="$str2"
|
str+="$str2"
|
||||||
echo "$str2" >> $FirmwareBundle/manifest
|
echo "$str2" >> $FirmwareBundle/manifest
|
||||||
|
Loading…
Reference in New Issue
Block a user