mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-06-05 13:12:41 +02:00
parent
3bfe414ab2
commit
3bdfbfb34a
11
restore.sh
11
restore.sh
@ -2174,6 +2174,13 @@ device_ipwndfu() {
|
|||||||
"rmsigchks" )
|
"rmsigchks" )
|
||||||
log "Running rmsigchks..."
|
log "Running rmsigchks..."
|
||||||
$p2_sudo "$python2" rmsigchks.py
|
$p2_sudo "$python2" rmsigchks.py
|
||||||
|
tool_pwned=$?
|
||||||
|
if [[ $platform == "macos" ]]; then
|
||||||
|
print "* If you get the error \"No backend available,\" install libusb in Homebrew/MacPorts"
|
||||||
|
fi
|
||||||
|
if [[ $tool_pwned != 0 ]]; then
|
||||||
|
error "ipwndfu $1 failed. Please run the script again"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"alloc8" )
|
"alloc8" )
|
||||||
@ -2183,9 +2190,13 @@ device_ipwndfu() {
|
|||||||
fi
|
fi
|
||||||
log "Installing alloc8 to device"
|
log "Installing alloc8 to device"
|
||||||
$p2_sudo "$python2" ipwndfu -x
|
$p2_sudo "$python2" ipwndfu -x
|
||||||
|
tool_pwned=$?
|
||||||
if [[ $platform == "macos" ]]; then
|
if [[ $platform == "macos" ]]; then
|
||||||
print "* If you get the error \"No backend available,\" install libusb in Homebrew/MacPorts"
|
print "* If you get the error \"No backend available,\" install libusb in Homebrew/MacPorts"
|
||||||
fi
|
fi
|
||||||
|
if [[ $tool_pwned != 0 ]]; then
|
||||||
|
error "ipwndfu $1 failed. Please run the script again"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if [[ $device_sudoloop == 1 ]]; then
|
if [[ $device_sudoloop == 1 ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user