Add quotes

This commit is contained in:
LukeZGD 2021-06-25 22:05:31 +08:00
parent 9c7315e659
commit f18988cef5
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"