From 14cebd48723748933d0610a4422275db3ce5a499 Mon Sep 17 00:00:00 2001 From: Hare Sudhan Date: Thu, 28 Dec 2023 10:53:18 -0500 Subject: [PATCH 1/2] Update install-atomicsfolder.ps1 --- install-atomicsfolder.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-atomicsfolder.ps1 b/install-atomicsfolder.ps1 index aef38aa..74822c6 100644 --- a/install-atomicsfolder.ps1 +++ b/install-atomicsfolder.ps1 @@ -85,7 +85,8 @@ function Install-AtomicsFolder { # read github zip archive into memory $ms = New-Object IO.MemoryStream [Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls11 -bor [Net.SecurityProtocolType]::Tls12) - + + Add-Type -AssemblyName System.Net.Http $httpClient = New-Object System.Net.Http.HttpClient $httpClient.Timeout = New-Object System.TimeSpan(0, 3, 0) $response = $httpClient.GetAsync($url).Result From e6610feea286c3601fbedc089c63a581e1991c5c Mon Sep 17 00:00:00 2001 From: Hare Sudhan Date: Thu, 28 Dec 2023 11:00:54 -0500 Subject: [PATCH 2/2] fixing lint --- install-atomicsfolder.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-atomicsfolder.ps1 b/install-atomicsfolder.ps1 index 74822c6..31210a5 100644 --- a/install-atomicsfolder.ps1 +++ b/install-atomicsfolder.ps1 @@ -85,7 +85,7 @@ function Install-AtomicsFolder { # read github zip archive into memory $ms = New-Object IO.MemoryStream [Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls11 -bor [Net.SecurityProtocolType]::Tls12) - + Add-Type -AssemblyName System.Net.Http $httpClient = New-Object System.Net.Http.HttpClient $httpClient.Timeout = New-Object System.TimeSpan(0, 3, 0)