mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
Add distributable DLLs for MS WebView2
This commit is contained in:
4
build.py
4
build.py
@@ -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.
|
||||
|
||||
17
packaging/msw-webview2/README.txt
Normal file
17
packaging/msw-webview2/README.txt
Normal 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.
|
||||
|
||||
BIN
packaging/msw-webview2/x64/WebView2Loader.dll
Normal file
BIN
packaging/msw-webview2/x64/WebView2Loader.dll
Normal file
Binary file not shown.
BIN
packaging/msw-webview2/x86/WebView2Loader.dll
Normal file
BIN
packaging/msw-webview2/x86/WebView2Loader.dll
Normal file
Binary file not shown.
Reference in New Issue
Block a user