Skip to content

Commit d654b9b

Browse files
committed
Revert "Build.ps1: Use minimal distribution instead of standard distribution"
This reverts commit a4a8434.
1 parent 568d1f5 commit d654b9b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

build.ps1

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,8 @@ function DownloadCefBinaryAndUnzip()
411411
$CefWin32CefVersion = $CefBuildsJson.windows32.versions | Where-Object {$_.cef_version -eq $CefVersion}
412412
$CefWin64CefVersion = $CefBuildsJson.windows64.versions | Where-Object {$_.cef_version -eq $CefVersion}
413413

414-
$Cef32FileName = ($CefWin32CefVersion.files | Where-Object {$_.type -eq "minimal"}).name
415-
$Cef64FileName = ($CefWin64CefVersion.files | Where-Object {$_.type -eq "minimal"}).name
414+
$Cef32FileName = ($CefWin32CefVersion.files | Where-Object {$_.type -eq "standard"}).name
415+
$Cef64FileName = ($CefWin64CefVersion.files | Where-Object {$_.type -eq "standard"}).name
416416

417417
# Make sure there is a 32bit and 64bit version for the specified build
418418
if ($CefWin32CefVersion.cef_version -ne $CefWin64CefVersion.cef_version)
@@ -426,7 +426,7 @@ function DownloadCefBinaryAndUnzip()
426426

427427
if (-not (Test-Path $LocalFile))
428428
{
429-
Write-Diagnostic "Downloading $Cef32FileName; this will take a while as the file is approximately 80 MiB large."
429+
Write-Diagnostic "Downloading $Cef32FileName; this will take a while as the file is approximately 200 MiB large."
430430
$Client.DownloadFile($CefBuildServerUrl + $Cef32FileName, $LocalFile);
431431
Write-Diagnostic "Download $Cef32FileName complete"
432432
}
@@ -455,7 +455,7 @@ function DownloadCefBinaryAndUnzip()
455455

456456
if (-not (Test-Path $LocalFile))
457457
{
458-
Write-Diagnostic "Downloading $Cef64FileName; this will take a while as the file is approximately 100 MiB large."
458+
Write-Diagnostic "Downloading $Cef64FileName; this will take a while as the file is approximately 200 MiB large."
459459
$Client.DownloadFile($CefBuildServerUrl + $Cef64FileName, $LocalFile);
460460
Write-Diagnostic "Download $Cef64FileName complete"
461461
}
@@ -484,13 +484,13 @@ function DownloadCefBinaryAndUnzip()
484484
function CopyFromLocalCefBuild()
485485
{
486486
# Example file names from cefsource build:
487-
# 32-bit: cef_binary_3.2924.1538.gbfdeccd_windows32_minimal.tar.bz2
488-
# 64-bit: cef_binary_3.2924.1538.gbfdeccd_windows64_minimal.tar.bz2
487+
# 32-bit: cef_binary_3.2924.1538.gbfdeccd_windows32.tar.bz2
488+
# 64-bit: cef_binary_3.2924.1538.gbfdeccd_windows64.tar.bz2
489489

490490
Write-Host $CefVersion
491491

492-
$Cef32FileName = "cef_binary_$($CefVersion)_windows32_minimal.tar.bz2"
493-
$Cef64FileName = "cef_binary_$($CefVersion)_windows64_minimal.tar.bz2"
492+
$Cef32FileName = "cef_binary_$($CefVersion)_windows32.tar.bz2"
493+
$Cef64FileName = "cef_binary_$($CefVersion)_windows64.tar.bz2"
494494

495495
set-alias sz "$env:ProgramFiles\7-Zip\7z.exe"
496496

@@ -507,7 +507,7 @@ function CopyFromLocalCefBuild()
507507

508508
if (-not (Test-Path $LocalFile))
509509
{
510-
Write-Diagnostic "Copy $Cef32FileName (approx 80mb)"
510+
Write-Diagnostic "Copy $Cef32FileName (approx 200mb)"
511511
Copy-Item ($CefBuildDir+$Cef32FileName) $LocalFile
512512
Write-Diagnostic "Copy of $Cef32FileName complete"
513513
}
@@ -536,7 +536,7 @@ function CopyFromLocalCefBuild()
536536

537537
if (-not (Test-Path $LocalFile))
538538
{
539-
Write-Diagnostic "Copy $Cef64FileName (approx 100mb)"
539+
Write-Diagnostic "Copy $Cef64FileName (approx 200mb)"
540540
Copy-Item ($CefBuildDir+$Cef64FileName) $LocalFile;
541541
Write-Diagnostic "Copy of $Cef64FileName complete"
542542
}

0 commit comments

Comments
 (0)