mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-04-07 11:57:55 +02:00
parent
3bfe414ab2
commit
3bdfbfb34a
11
restore.sh
11
restore.sh
@ -2174,6 +2174,13 @@ device_ipwndfu() {
|
||||
"rmsigchks" )
|
||||
log "Running rmsigchks..."
|
||||
$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" )
|
||||
@ -2183,9 +2190,13 @@ device_ipwndfu() {
|
||||
fi
|
||||
log "Installing alloc8 to device"
|
||||
$p2_sudo "$python2" ipwndfu -x
|
||||
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
|
||||
;;
|
||||
esac
|
||||
if [[ $device_sudoloop == 1 ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user