mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 02:14:15 +01:00
Update restore.sh
This commit is contained in:
parent
95dc8ae748
commit
05ceeea65b
10
restore.sh
10
restore.sh
@ -3568,11 +3568,19 @@ ipsw_prepare_multipatch() {
|
||||
5* ) vers="5.1.1"; build="9B206";;
|
||||
6* ) vers="6.1.3"; build="10B329";;
|
||||
esac
|
||||
case $device_target_vers in
|
||||
if [[ $ipsw_gasgauge_patch == 1 ]]; then
|
||||
local ver2="${device_target_vers:0:1}"
|
||||
if (( ver2 >= 7 )); then
|
||||
vers="6.1.3"
|
||||
build="10B329"
|
||||
fi
|
||||
else
|
||||
case $device_target_vers in
|
||||
7* ) vers="7.1.2"; build="11D257";;
|
||||
8* ) vers="8.4.1"; build="12H321";;
|
||||
9* ) vers="9.3.5"; build="13G36";;
|
||||
esac
|
||||
fi
|
||||
saved_path="../saved/$device_type/$build"
|
||||
ipsw_get_url $build
|
||||
url="$ipsw_url"
|
||||
|
Loading…
Reference in New Issue
Block a user