diff --git a/resources/device.sh b/resources/device.sh index 7be2fc2..5a756c8 100755 --- a/resources/device.sh +++ b/resources/device.sh @@ -136,7 +136,7 @@ CheckM8() { local pwnDFUTool local pwnDFUDevice - [[ $platform == macos ]] && pwnDFUTool="iPwnder32" || pwnDFUTool="ipwndfu" + [[ $platform == "macos" ]] && pwnDFUTool="iPwnder32" || pwnDFUTool="ipwndfu" Log "Entering pwnDFU mode with $pwnDFUTool..." if [[ $pwnDFUTool == "ipwndfu" ]]; then cd resources/ipwndfu diff --git a/resources/downgrade.sh b/resources/downgrade.sh index 478a8ba..450897b 100755 --- a/resources/downgrade.sh +++ b/resources/downgrade.sh @@ -54,7 +54,7 @@ FutureRestore() { Log "Proceeding to futurerestore..." if [[ $Baseband == 0 ]]; then Log "Device $ProductType has no baseband" - $futurerestore -t $SHSH --no-baseband $ExtraArgs $IPSWRestore.ipsw + $futurerestore -t $SHSH --no-baseband $ExtraArgs "$IPSWRestore.ipsw" else FRBaseband $futurerestore -t $SHSH -b saved/baseband/$Baseband -p $BuildManifest $ExtraArgs "$IPSWRestore.ipsw"