ps: Use -OutFile instead of -Out (#55)

-Out doesn't work in Windows 8.
Fixes #54
This commit is contained in:
Mark Tiedemann 2019-04-08 23:43:16 +02:00 committed by Ryan Dahl
parent 9a086b54a5
commit a98d36778d

View file

@ -75,7 +75,7 @@ if (!(Test-Path $BinDir)) {
New-Item $BinDir -ItemType Directory | Out-Null
}
Invoke-WebRequest $DenoUri -Out $DenoZip
Invoke-WebRequest $DenoUri -OutFile $DenoZip
if ($IsWindows) {
Expand-Archive $DenoZip -Destination $BinDir -Force