Add distributable DLLs for MS WebView2

This commit is contained in:
Robin Dunn
2020-10-13 11:47:54 -07:00
parent b382df3382
commit f96deee066
4 changed files with 21 additions and 0 deletions

View File

@@ -1521,6 +1521,10 @@ def copyWxDlls(options):
cairo_root = os.path.join(phoenixDir(), 'packaging', 'msw-cairo')
dlls += glob.glob(os.path.join(cairo_root, arch, 'bin', '*.dll'))
# And the webview2 (MS EDGE) DLL
wv2_root = os.path.join(phoenixDir(), 'packaging', 'msw-webview2')
dlls += glob.glob(os.path.join(wv2_root, arch, '*.dll'))
# For Python 3.5 and 3.6 builds we also need to copy some VC14 redist DLLs.
# NOTE: Do it for 3.7+ too for now. But when we fully switch over to VS 2017
# this may need to change. See notes in wscript about it.

View File

@@ -0,0 +1,17 @@
msw-webview2
------------
This folder contains the DLLs used to interface with the Microsoft Edge browser
and use it as a backend for wx.html2.WebView. The appropriate architecture
version of the DLL will be copied into the wx package folder at build time.
The original copies of the DLLs can be found in the WebView2 SDK nuget:
https://www.nuget.org/packages/Microsoft.Web.WebView2
The current version of Microsoft.Web.WebView2 being used here is 0.9.622.11.
Note that it may be necessary to have the Beta Channel version of Microsoft Edge
installed for this to work.

Binary file not shown.

Binary file not shown.