File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -535,10 +535,12 @@ function DownloadCefBinaryAndUnzip()
535
535
$LocalFile = Join-Path $WorkingDir $CefFileName
536
536
if (-not (Test-Path $LocalFile ))
537
537
{
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
+
538
542
$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 );
542
544
543
545
if (-not (Test-Path $LocalFile ))
544
546
{
You can’t perform that action at this time.
0 commit comments