Skip to content

Commit

Permalink
Update 01_install_dependencies.ps1
Browse files Browse the repository at this point in the history
Replace powershell Invoke-WebRequest by curl.
  • Loading branch information
msobo1 authored Mar 22, 2024
1 parent 9337840 commit ed9fa1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CI/windows/01_install_dependencies.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function Install-cef {
if (!((Test-Path "${DepsBuildDir}/cef_binary_${Version}_windows_${ArchSuffix}") -and (Test-Path "${DepsBuildDir}/cef_binary_${Version}_windows_${ArchSuffix}/build/libcef_dll_wrapper/Release/libcef_dll_wrapper.lib"))) {
Write-Step "Download..."
$ProgressPreference = $(if ($Quiet.isPresent) { 'SilentlyContinue' } else { 'Continue' })
Invoke-WebRequest -Uri "https://cdn-fastly.obsproject.com/downloads/cef_binary_${Version}_windows_${ArchSuffix}.zip" -UseBasicParsing -OutFile "cef_binary_${Version}_windows_${ArchSuffix}.zip"
cmd.exe /c curl -L -H "Accept: application/octet-stream" "https://cdn-fastly.obsproject.com/downloads/cef_binary_${Version}_windows_${ArchSuffix}.zip" --output "cef_binary_${Version}_windows_${ArchSuffix}.zip"
$ProgressPreference = "Continue"

Write-Step "Unpack..."
Expand Down

0 comments on commit ed9fa1f

Please sign in to comment.