We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e4d739 commit 696e0d6Copy full SHA for 696e0d6
build/install-dotnet-script.ps1
@@ -1,7 +1,8 @@
1
+[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
2
+
3
$scriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
4
$client = New-Object "System.Net.WebClient"
5
$url = "https://github.com/filipw/dotnet-script/releases/download/0.18.0/dotnet-script.0.18.0.zip"
6
$file = "$scriptRoot/dotnet-script.zip"
7
$client.DownloadFile($url,$file)
-Expand-Archive $file -DestinationPath $scriptRoot -Force
-
8
+Expand-Archive $file -DestinationPath $scriptRoot -Force
0 commit comments