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 2
2
"runtimes" : {
3
3
"win-x64" : {
4
4
"chromiumembeddedframework.runtime" : {
5
- "chromiumembeddedframework.runtime.win-x64" : " 121.2.14 "
5
+ "chromiumembeddedframework.runtime.win-x64" : " 132.3.1 "
6
6
}
7
7
},
8
8
"win-x86" : {
9
9
"chromiumembeddedframework.runtime" : {
10
- "chromiumembeddedframework.runtime.win-x86" : " 121.2.14 "
10
+ "chromiumembeddedframework.runtime.win-x86" : " 132.3.1 "
11
11
}
12
12
},
13
13
"win-arm64" : {
14
14
"chromiumembeddedframework.runtime" : {
15
- "chromiumembeddedframework.runtime.win-arm64" : " 121.2.14 "
15
+ "chromiumembeddedframework.runtime.win-arm64" : " 132.3.1 "
16
16
}
17
17
},
18
18
}
Original file line number Diff line number Diff line change 14
14
[string ] $CefBinaryDir = " ../cefsource/chromium/src/cef/binary_distrib/" ,
15
15
16
16
[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 " ,
18
18
19
19
[ValidateSet (" tar.bz2" , " zip" , " 7z" )]
20
20
[Parameter (Position = 4 )]
@@ -524,10 +524,13 @@ function DownloadCefBinaryAndUnzip()
524
524
Die " Build Unavailable - $arch has no files for version $CefVersion "
525
525
}
526
526
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
531
534
532
535
$LocalFile = Join-Path $WorkingDir $CefFileName
533
536
if (-not (Test-Path $LocalFile ))
You can’t perform that action at this time.
0 commit comments