From 65aab6fbb1d770ab4200d187b99a03778ebd6e67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20B=C3=B8hm?= <46354423+anbohm@users.noreply.github.com> Date: Thu, 4 Aug 2022 12:07:40 +0200 Subject: [PATCH] Update Install.ps1 Added TLS settings for wget in function --- Misc/Paint NET/Install.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Misc/Paint NET/Install.ps1 b/Misc/Paint NET/Install.ps1 index e77ce00..e9b876a 100644 --- a/Misc/Paint NET/Install.ps1 +++ b/Misc/Paint NET/Install.ps1 @@ -3,6 +3,7 @@ Function Get-PaintDotNetURl { [cmdletbinding()] [outputType([string])] + [Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls" $sourceUrl = "https://www.dotpdn.com/downloads/pdn.html" $raw = (wget -UseBasicParsing -Uri $sourceUrl) $multiline = $raw.content.split("`n").trim()