File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 22 "runtimes" : {
33 "win-x64" : {
44 "chromiumembeddedframework.runtime" : {
5- "chromiumembeddedframework.runtime.win-x64" : " 121.2.14 "
5+ "chromiumembeddedframework.runtime.win-x64" : " 132.3.1 "
66 }
77 },
88 "win-x86" : {
99 "chromiumembeddedframework.runtime" : {
10- "chromiumembeddedframework.runtime.win-x86" : " 121.2.14 "
10+ "chromiumembeddedframework.runtime.win-x86" : " 132.3.1 "
1111 }
1212 },
1313 "win-arm64" : {
1414 "chromiumembeddedframework.runtime" : {
15- "chromiumembeddedframework.runtime.win-arm64" : " 121.2.14 "
15+ "chromiumembeddedframework.runtime.win-arm64" : " 132.3.1 "
1616 }
1717 },
1818 }
Original file line number Diff line number Diff line change 1414 [string ] $CefBinaryDir = " ../cefsource/chromium/src/cef/binary_distrib/" ,
1515
1616 [Parameter (Position = 3 )]
17- $CefVersion = " 121.2.14+ga44b59f +chromium-121 .0.6167.75 " ,
17+ $CefVersion = " 132.3.1+g144febe +chromium-132 .0.6834.83 " ,
1818
1919 [ValidateSet (" tar.bz2" , " zip" , " 7z" )]
2020 [Parameter (Position = 4 )]
@@ -524,10 +524,13 @@ function DownloadCefBinaryAndUnzip()
524524 Die " Build Unavailable - $arch has no files for version $CefVersion "
525525 }
526526
527- # TODO Duplication
528- $CefFileName = ($CefWinCefVersion.files | Where-Object {$_.type -eq " standard" }).name
529- $CefFileHash = ($CefWinCefVersion.files | Where-Object {$_.type -eq " standard" }).sha1
530- $CefFileSize = (($CefWinCefVersion.files | Where-Object {$_.type -eq " standard" }).size / 1 MB )
527+ # CEF sometimes has multiple builds of the same version with one being Stable and one being Beta
528+ # We'll take the newest build in that case
529+ $CefStandardFiles = ($CefWinCefVersion.files | Where-Object {$_.type -eq " standard" } | Sort-Object - Descending - Property last_modified)[0 ];
530+
531+ $CefFileName = $CefStandardFiles.name
532+ $CefFileHash = $CefStandardFiles.sha1
533+ $CefFileSize = $CefStandardFiles.size / 1 MB
531534
532535 $LocalFile = Join-Path $WorkingDir $CefFileName
533536 if (-not (Test-Path $LocalFile ))
You can’t perform that action at this time.
0 commit comments