From 53daffe3ec2d4ed7b787ab8c7fc56b288fbf7140 Mon Sep 17 00:00:00 2001 From: Brecht Carlier Date: Sat, 4 Apr 2020 20:41:16 +0200 Subject: [PATCH] Fix not working install script for PS5 (#104) Incorrect github link was used for downloading `deno` when using 'non-core' powershell --- install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.ps1 b/install.ps1 index 9ad567b..4ebf40d 100644 --- a/install.ps1 +++ b/install.ps1 @@ -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 }