Skip to content

Commit 26010a5

Browse files
committed
builds.ps1 - Major rewrite
- Use $BuildArches "win-x86;win-x64;win-arm64" param to specify the desired platforms to package. Using win-x64 etc so if we ever add support for packaging linux/macosx then they can easily be added. Spaces, semi colons, colons, and commas should all work as delimiters. x86 x64 and arm64 without the win- prefix would also work. - Additionally reduce some duplication - Remove the nuspec template and go back to having a straight nuspec file as I have plans to refactor that package shortly. - When a download fails terminate with a clearer error message .\build.ps1 -CefVersion 95.7.8+g69b7dc3+chromium-95.0.4638.17 -BuildArches "win-x86,win-x64" .\build.ps1 -CefVersion 95.7.8+g69b7dc3+chromium-95.0.4638.17 -BuildArches "win-x86 win-x64 win-arm64" .\build.ps1 -CefVersion 95.7.8+g69b7dc3+chromium-95.0.4638.17 -BuildArches "win-x86;win-x64;win-arm64"
1 parent 62b46a3 commit 26010a5

File tree

4 files changed

+607
-546
lines changed

4 files changed

+607
-546
lines changed

NuGet/cef.sdk.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<CefSdkVer>cef.sdk.94.0.5</CefSdkVer>
4+
<CefSdkVer>cef.sdk.95.7.8</CefSdkVer>
55
</PropertyGroup>
66
</Project>

NuGet/chromiumembeddedframework.runtime.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
"runtimes": {
33
"win-x64": {
44
"chromiumembeddedframework.runtime": {
5-
"chromiumembeddedframework.runtime.win-x64": "94.0.5"
5+
"chromiumembeddedframework.runtime.win-x64": "95.7.8"
66
}
77
},
88
"win-x86": {
99
"chromiumembeddedframework.runtime": {
10-
"chromiumembeddedframework.runtime.win-x86": "94.0.5"
10+
"chromiumembeddedframework.runtime.win-x86": "95.7.8"
1111
}
1212
},
1313
"win-arm64": {
1414
"chromiumembeddedframework.runtime": {
15-
"chromiumembeddedframework.runtime.win-arm64": "94.0.5"
15+
"chromiumembeddedframework.runtime.win-arm64": "95.7.8"
1616
}
1717
},
1818
}

NuGet/chromiumembeddedframework.runtime.nuspec.template renamed to NuGet/chromiumembeddedframework.runtime.nuspec

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@
2525
<!-- Architecture-specific files folder hierarchy lost (native subfolders) -->
2626
<!-- https://github.com/NuGet/Home/issues/7698#issuecomment-455368655 -->
2727
<!-- We have to copy swiftshader and locales via manually -->
28-
META_REPLACE_DATA
28+
<file src="..\cef_binary_3.y.z_windows32\Resources\locales\*.pak" target="CEF\win-x86\locales"/>
29+
<file src="..\cef_binary_3.y.z_windows32\$Configuration$\swiftshader\*.dll" target="CEF\win-x86\swiftshader" />
30+
<file src="..\cef_binary_3.y.z_windows64\Resources\locales\*.pak" target="CEF\win-x64\locales"/>
31+
<file src="..\cef_binary_3.y.z_windows64\$Configuration$\swiftshader\*.dll" target="CEF\win-x64\swiftshader" />
32+
<file src="..\cef_binary_3.y.z_windowsarm64\Resources\locales\*.pak" target="CEF\win-arm64\locales"/>
33+
<file src="..\cef_binary_3.y.z_windowsarm64\$Configuration$\swiftshader\*.dll" target="CEF\win-arm64\swiftshader" />
34+
<file src="..\cef\LICENSE.txt" target="LICENSE.txt" />
2935
<file src="chromiumembeddedframework.runtime.json" target="runtime.json" />
3036
<file src="chromiumembeddedframework.runtime.props" target="buildTransitive\" />
3137
<file src="cef128x128.png" target="images\" />

0 commit comments

Comments
 (0)