From 57512d50f7c5ba667060efb859675a7223994085 Mon Sep 17 00:00:00 2001 From: Stephen Maunder Date: Sat, 17 Mar 2018 21:35:46 +0000 Subject: [PATCH] Fix build download for pandoc --- SnipeItPS.build.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/SnipeItPS.build.ps1 b/SnipeItPS.build.ps1 index 5bbf1b5..2044ef4 100644 --- a/SnipeItPS.build.ps1 +++ b/SnipeItPS.build.ps1 @@ -56,6 +56,7 @@ task InstallPandoc -If (-not (Test-Path Tools\pandoc.exe)) { # Get latest bits $latestRelease = "https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-windows.msi" + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Invoke-WebRequest -Uri $latestRelease -OutFile "$($env:temp)\pandoc.msi" # Extract bits