From 74fcff6e5b190fb833a231b7f7c1829e3c3ac54d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Tue, 29 Apr 2025 16:26:08 +0200 Subject: [PATCH] Use Start-BitsTransfer for downloading OpenCppCoverage instead The old `Start-FileDownload` was no longer recognized by the pswh version on my local machine, this updates the OpenCppCoverage install script to use a still usable cmdlet. --- tools/misc/installOpenCppCoverage.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/misc/installOpenCppCoverage.ps1 b/tools/misc/installOpenCppCoverage.ps1 index 215fe20e..795b7c8e 100644 --- a/tools/misc/installOpenCppCoverage.ps1 +++ b/tools/misc/installOpenCppCoverage.ps1 @@ -4,7 +4,7 @@ $installerPath = [System.IO.Path]::Combine($Env:USERPROFILE, "Downloads", "OpenC if(-Not (Test-Path $installerPath)) { Write-Host -ForegroundColor White ("Downloading OpenCppCoverage from: " + $downloadUrl) - Start-FileDownload $downloadUrl -FileName $installerPath + Start-BitsTransfer $downloadUrl -Destination $installerPath } Write-Host -ForegroundColor White "About to install OpenCppCoverage..."