mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
Some changes
This commit is contained in:
parent
6e9a53a880
commit
decbf20c3e
13
restore.sh
13
restore.sh
@ -1891,6 +1891,10 @@ ipsw_download() {
|
|||||||
local build_id="$device_target_build"
|
local build_id="$device_target_build"
|
||||||
local ipsw_dl="$1"
|
local ipsw_dl="$1"
|
||||||
ipsw_get_url $build_id
|
ipsw_get_url $build_id
|
||||||
|
if [[ -z $ipsw_dl ]]; then
|
||||||
|
ipsw_dl="../${ipsw_url##*/}"
|
||||||
|
ipsw_dl="${ipsw_dl%?????}"
|
||||||
|
fi
|
||||||
if [[ ! -e "$ipsw_dl.ipsw" ]]; then
|
if [[ ! -e "$ipsw_dl.ipsw" ]]; then
|
||||||
if [[ -n $version ]]; then
|
if [[ -n $version ]]; then
|
||||||
print "* The script will now proceed to download iOS $version IPSW."
|
print "* The script will now proceed to download iOS $version IPSW."
|
||||||
@ -5922,11 +5926,10 @@ menu_other() {
|
|||||||
menu_items+=("Enter pwnDFU Mode")
|
menu_items+=("Enter pwnDFU Mode")
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if (( device_proc >= 5 )); then
|
case $device_proc in
|
||||||
menu_items+=("Send Pwned iBSS")
|
[56] ) menu_items+=("Send Pwned iBSS");;
|
||||||
elif [[ $device_proc != 5 ]]; then
|
* ) menu_items+=("Enter pwnDFU Mode");;
|
||||||
menu_items+=("Enter pwnDFU Mode")
|
esac
|
||||||
fi
|
|
||||||
menu_items+=("Get iOS Version")
|
menu_items+=("Get iOS Version")
|
||||||
fi
|
fi
|
||||||
menu_items+=("Clear NVRAM")
|
menu_items+=("Clear NVRAM")
|
||||||
|
Loading…
Reference in New Issue
Block a user