mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
precautions in case of spaces in folder structure...
This commit is contained in:
parent
d95c7bd778
commit
cd9bd5c048
@ -782,7 +782,7 @@ $Timer1 = New-Object System.Windows.Forms.Timer($components)
|
|||||||
if (Test-Path $tmp) { Remove-Item -Path $tmp -Recurse }
|
if (Test-Path $tmp) { Remove-Item -Path $tmp -Recurse }
|
||||||
Copy-Item -Path $x.subitems[1].Text -Destination $tmp -Recurse
|
Copy-Item -Path $x.subitems[1].Text -Destination $tmp -Recurse
|
||||||
|
|
||||||
$argz = @($tmp, $Output, "-packonly", "-clear", "-prefix=$name", "-project=$tmp", "-include=$includes")
|
$argz = @($tmp, ('"' + $Output + '"'), "-packonly", "-clear", "-prefix=$name", "-project=$tmp", "-include=$includes")
|
||||||
|
|
||||||
Start-Process -FilePath $Bob -ArgumentList $argz -Wait
|
Start-Process -FilePath $Bob -ArgumentList $argz -Wait
|
||||||
}
|
}
|
||||||
@ -807,7 +807,7 @@ $Timer1 = New-Object System.Windows.Forms.Timer($components)
|
|||||||
Copy-Item($src + "epoch_config") -Destination $tmp -Recurse
|
Copy-Item($src + "epoch_config") -Destination $tmp -Recurse
|
||||||
Copy-Item($src + "description.ext") -Destination $tmp
|
Copy-Item($src + "description.ext") -Destination $tmp
|
||||||
|
|
||||||
$argz = @($tmp, $Output, "-clear", "-prefix=\", "-project=P:\", "-include=$includes")
|
$argz = @($tmp, ('"' + $Output + '"'), "-clear", "-prefix=\", "-project=P:\", "-include=$includes")
|
||||||
|
|
||||||
Start-Process -FilePath $Bob -ArgumentList $argz -Wait
|
Start-Process -FilePath $Bob -ArgumentList $argz -Wait
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user