Merge pull request #97 from sasa8810/main

This commit is contained in:
Edwin Nuñez 2024-02-14 09:00:22 -04:00 committed by GitHub
commit c4d7c0d834
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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() {