mirror of
https://github.com/danbulant/deno_install
synced 2026-07-06 11:40:39 +00:00
ps: Use -OutFile instead of -Out (#55)
-Out doesn't work in Windows 8. Fixes #54
This commit is contained in:
parent
9a086b54a5
commit
a98d36778d
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ if (!(Test-Path $BinDir)) {
|
||||||
New-Item $BinDir -ItemType Directory | Out-Null
|
New-Item $BinDir -ItemType Directory | Out-Null
|
||||||
}
|
}
|
||||||
|
|
||||||
Invoke-WebRequest $DenoUri -Out $DenoZip
|
Invoke-WebRequest $DenoUri -OutFile $DenoZip
|
||||||
|
|
||||||
if ($IsWindows) {
|
if ($IsWindows) {
|
||||||
Expand-Archive $DenoZip -Destination $BinDir -Force
|
Expand-Archive $DenoZip -Destination $BinDir -Force
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue