File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -535,10 +535,12 @@ function DownloadCefBinaryAndUnzip()
535535 $LocalFile = Join-Path $WorkingDir $CefFileName
536536 if (-not (Test-Path $LocalFile ))
537537 {
538+ $UriEncodedFileName = [System.Web.HttpUtility ]::UrlEncode($CefFileName ).Replace(" %2b" , " %2B" )
539+ $FullUri = $CefBuildServerUrl + $UriEncodedFileName
540+ Write-Diagnostic " Downloading $FullUri this will take a while as the file is $CefFileSize MB."
541+
538542 $Client = New-Object System.Net.WebClient;
539-
540- Write-Diagnostic " Downloading $CefFileName ; this will take a while as the file is $CefFileSize MB."
541- $Client.DownloadFile ($CefBuildServerUrl + [System.Web.HttpUtility ]::UrlEncode($CefFileName ), $LocalFile );
543+ $Client.DownloadFile ($FullUri , $LocalFile );
542544
543545 if (-not (Test-Path $LocalFile ))
544546 {
You can’t perform that action at this time.
0 commit comments