Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ldrelease/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ If(Test-Path "pcre-8.43") {
# NOTE: Recompute this SHA256 hash whenever the file is updated. This way we can detect
# if the file has changed.
$PcreSHA256 = "ae236dc25d7e0e738a94e103218e0085eb02ff9bd98f637b6e061a48decdb433"
$PcreURL = "https://iweb.dl.sourceforge.net/project/pcre/pcre/8.43/pcre-8.43.zip"
$PcreURL = "https://sourceforge.net/projects/pcre/files/pcre/8.43/pcre-8.43.zip/download"

DownloadAndUnzip -url $PcreURL -filename "pcre.zip" -sha256 $PcreSHA256

Expand Down
2 changes: 1 addition & 1 deletion .ldrelease/helpers.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function DownloadAndUnzip {
[Parameter(Mandatory)][string]$sha256
)
Write-Host Downloading and expanding $url
ExecuteOrFail { iwr -outf $filename $url }
ExecuteOrFail { iwr -UserAgent "NativeHost" -outf $filename $url }
$Hash = Get-FileHash $filename -Algorithm SHA256
if ($Hash.Hash -eq $sha256) {
Write-Host "SHA256($filename) = ($($Hash.Hash)) OK"
Expand Down