Update restore.sh

This commit is contained in:
LukeZGD 2023-08-05 23:14:32 +08:00
parent 5ce9f1ab57
commit a736f50a86

View File

@ -244,6 +244,10 @@ set_tool_paths() {
chmod +x $dir/*
fi
ideviceenterrecovery="$dir/ideviceenterrecovery"
ideviceinfo="$dir/ideviceinfo"
iproxy="$dir/iproxy"
irecovery+="$dir/irecovery"
if [[ $platform == "macos" ]]; then
local ideviceinfot="$(which ideviceinfo 2>/dev/null)"
local irecoveryt="$(which irecovery 2>/dev/null)"
@ -256,10 +260,6 @@ set_tool_paths() {
fi
else
bspatch="$dir/bspatch"
ideviceenterrecovery="$dir/ideviceenterrecovery"
ideviceinfo="$dir/ideviceinfo"
iproxy="$dir/iproxy"
irecovery+="$dir/irecovery"
sha1sum="$(which sha1sum)"
sha256sum="$(which sha256sum)"
fi