Merge pull request #97 from sasa8810/main
This commit is contained in:
commit
c4d7c0d834
1 changed files with 10 additions and 3 deletions
13
downr1n.sh
13
downr1n.sh
|
|
@ -383,9 +383,16 @@ _kill_if_running() {
|
||||||
_runFuturerestore() {
|
_runFuturerestore() {
|
||||||
read -p "Press ENTER to continue with futurerestore, your device will start to restoring <-"
|
read -p "Press ENTER to continue with futurerestore, your device will start to restoring <-"
|
||||||
rm -rf /tmp/futurerestore/
|
rm -rf /tmp/futurerestore/
|
||||||
"$dir"/futurerestore -t blobs/"$deviceid"-"$version".shsh2 --use-pwndfu --skip-blob \
|
if [ "$os" == "Linux"]; then
|
||||||
--rdsk work/rdsk.im4p --rkrn work/krnl.im4p \
|
sudo -u $SUDO_USER \
|
||||||
--latest-sep "$HasBaseband" "$ipsw"
|
"$dir"/futurerestore -t blobs/"$deviceid"-"$version".shsh2 --use-pwndfu --skip-blob \
|
||||||
|
--rdsk work/rdsk.im4p --rkrn work/krnl.im4p \
|
||||||
|
--latest-sep "$HasBaseband" "$ipsw"
|
||||||
|
else
|
||||||
|
"$dir"/futurerestore -t blobs/"$deviceid"-"$version".shsh2 --use-pwndfu --skip-blob \
|
||||||
|
--rdsk work/rdsk.im4p --rkrn work/krnl.im4p \
|
||||||
|
--latest-sep "$HasBaseband" "$ipsw"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
_detect() {
|
_detect() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue