Skip to content

Commit 696e0d6

Browse files
committed
also in build file
1 parent 0e4d739 commit 696e0d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/install-dotnet-script.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
2+
13
$scriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
24
$client = New-Object "System.Net.WebClient"
35
$url = "https://github.com/filipw/dotnet-script/releases/download/0.18.0/dotnet-script.0.18.0.zip"
46
$file = "$scriptRoot/dotnet-script.zip"
57
$client.DownloadFile($url,$file)
6-
Expand-Archive $file -DestinationPath $scriptRoot -Force
7-
8+
Expand-Archive $file -DestinationPath $scriptRoot -Force

0 commit comments

Comments
 (0)