mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-28 09:11:49 +01:00
Print full restore command, show message on error
This commit is contained in:
parent
a170ec5376
commit
1688f66507
@ -172,9 +172,18 @@ Downgrade() {
|
||||
ExtraArgs+=("-b" "saved/baseband/$Baseband" "-p" "$BuildManifest")
|
||||
fi
|
||||
fi
|
||||
Log "Running futurerestore with command: $futurerestore -t \"$SHSH\" ${ExtraArgs[@]} \"$IPSWRestore.ipsw\""
|
||||
$futurerestore -t "$SHSH" "${ExtraArgs[@]}" "$IPSWRestore.ipsw"
|
||||
local opt=$?
|
||||
|
||||
echo
|
||||
Log "Restoring done!"
|
||||
if [[ $opt != 0 ]]; then
|
||||
Log "An error seems to have occurred in futurerestore."
|
||||
Echo "* Please read the \"Troubleshooting\" wiki page in GitHub before opening any issue!"
|
||||
Echo "* Your problem may have already been addressed within the page."
|
||||
Echo "* If opening an issue in GitHub, please provide a FULL log. Otherwise, your issue may be dismissed."
|
||||
else
|
||||
Log "Restoring done!"
|
||||
fi
|
||||
Log "Downgrade script done!"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user