mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-24 23:31:48 +01:00
Fix a bug with ipsw_prepare_bundle
This commit is contained in:
parent
d1b1fe637f
commit
9a3f574af0
@ -2478,11 +2478,9 @@ ipsw_prepare_bundle() {
|
|||||||
ipsw_prepare_config false false
|
ipsw_prepare_config false false
|
||||||
fi
|
fi
|
||||||
local FirmwareBundle2="../resources/firmware/FirmwareBundles/Down_${device_type}_${vers}_${build}.bundle"
|
local FirmwareBundle2="../resources/firmware/FirmwareBundles/Down_${device_type}_${vers}_${build}.bundle"
|
||||||
if [[ $device_target_powder == 1 && $device_target_vers == "4.3"* ]]; then
|
if [[ $ipsw_prepare_usepowder == 1 ]]; then
|
||||||
FirmwareBundle2=
|
FirmwareBundle2=
|
||||||
elif [[ $device_target_powder == 1 || $device_target_other == 1 ]] && [[ $device_proc != 4 ]]; then
|
elif [[ -d $FirmwareBundle2 ]]; then
|
||||||
FirmwareBundle2=
|
|
||||||
elif [[ -d $FirmwareBundle2 && $ipsw_prepare_usepowder != 1 ]]; then
|
|
||||||
FirmwareBundle+="Down_"
|
FirmwareBundle+="Down_"
|
||||||
fi
|
fi
|
||||||
FirmwareBundle+="${device_type}_${vers}_${build}.bundle"
|
FirmwareBundle+="${device_type}_${vers}_${build}.bundle"
|
||||||
|
Loading…
Reference in New Issue
Block a user