mirror of
https://github.com/danbulant/deno_install
synced 2026-06-13 19:51:29 +00:00
Fix not working install script for PS5 (#104)
Incorrect github link was used for downloading `deno` when using 'non-core' powershell
This commit is contained in:
parent
f163b0286f
commit
53daffe3ec
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ $DenoUri = if (!$Version) {
|
|||
$HTMLFile.write($ResponseBytes)
|
||||
}
|
||||
$HTMLFile.getElementsByTagName('a') |
|
||||
Where-Object { $_.href -like "about:/denoland/deno/releases/download/*/deno_${Target}.zip" } |
|
||||
Where-Object { $_.href -like "about:/denoland/deno/releases/download/*/deno-${Target}.zip" } |
|
||||
ForEach-Object { $_.href -replace 'about:', 'https://github.com' } |
|
||||
Select-Object -First 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue