mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-24 16:40:25 +00:00
Fix for spaces in ps1 script
This commit is contained in:
parent
7ad4dffabb
commit
882b3c12a0
1 changed files with 2 additions and 1 deletions
|
@ -192,7 +192,8 @@ Request-File -Url $XPipeDownloadUrl -File $file
|
|||
Write-Host "Installing XPipe ..."
|
||||
|
||||
# Wait for completion
|
||||
Start-Process -FilePath "msiexec" -Wait -ArgumentList "/i", "$file", "/quiet"
|
||||
# The file variable can contain spaces, so we have to accommodate for that
|
||||
Start-Process -FilePath "msiexec" -Wait -ArgumentList "/i", "`"$file`"", "/quiet"
|
||||
|
||||
# Update current process PATH environment variable
|
||||
$env:Path=(
|
||||
|
|
Loading…
Reference in a new issue