mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-15 10:45:48 +00:00
Fix build download for pandoc
This commit is contained in:
parent
bd9db2d9be
commit
57512d50f7
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ task InstallPandoc -If (-not (Test-Path Tools\pandoc.exe)) {
|
||||||
|
|
||||||
# Get latest bits
|
# Get latest bits
|
||||||
$latestRelease = "https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-windows.msi"
|
$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"
|
Invoke-WebRequest -Uri $latestRelease -OutFile "$($env:temp)\pandoc.msi"
|
||||||
|
|
||||||
# Extract bits
|
# Extract bits
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue