mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-01-25 22:51:12 +01:00
parent
150801c4fd
commit
41b22d2bfb
10
restore.sh
10
restore.sh
@ -265,8 +265,8 @@ set_tool_paths() {
|
|||||||
iproxy="$dir/iproxy"
|
iproxy="$dir/iproxy"
|
||||||
irecovery+="$dir/irecovery"
|
irecovery+="$dir/irecovery"
|
||||||
if [[ $platform == "macos" ]]; then
|
if [[ $platform == "macos" ]]; then
|
||||||
local ideviceinfot="$(which ideviceinfo 2>/dev/null)"
|
#local ideviceinfot="$(which ideviceinfo 2>/dev/null)"
|
||||||
local irecoveryt="$(which irecovery 2>/dev/null)"
|
#local irecoveryt="$(which irecovery 2>/dev/null)"
|
||||||
if [[ -n $ideviceinfot && -n $irecoveryt ]]; then
|
if [[ -n $ideviceinfot && -n $irecoveryt ]]; then
|
||||||
log "Detected libimobiledevice and libirecovery from Homebrew/MacPorts"
|
log "Detected libimobiledevice and libirecovery from Homebrew/MacPorts"
|
||||||
ideviceenterrecovery="$(which ideviceenterrecovery)"
|
ideviceenterrecovery="$(which ideviceenterrecovery)"
|
||||||
@ -5307,6 +5307,12 @@ restore_customipsw() {
|
|||||||
if [[ -z $ipsw_path ]]; then
|
if [[ -z $ipsw_path ]]; then
|
||||||
error "No IPSW selected, cannot continue."
|
error "No IPSW selected, cannot continue."
|
||||||
fi
|
fi
|
||||||
|
if [[ $device_proc == 1 ]]; then
|
||||||
|
print "* Note that you might need to restore twice, due to NOR flash."
|
||||||
|
print "* For iPhone 2G/3G, the second restore may fail due to baseband."
|
||||||
|
print "* You can exit recovery mode after by going to: Other Utilities -> Exit Recovery Mode"
|
||||||
|
pause
|
||||||
|
fi
|
||||||
if [[ $device_proc == 1 ]]; then
|
if [[ $device_proc == 1 ]]; then
|
||||||
device_enter_mode WTFreal
|
device_enter_mode WTFreal
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user