Windows WebView2

This commit is contained in:
2026-07-22 20:58:04 -07:00
parent f3ac7895d0
commit a30a407de6
5 changed files with 667 additions and 81 deletions

View File

@ -10,10 +10,10 @@ let flags = {
with_compute: true,
with_networking: true,
with_viewport: true,
with_webview: false,
with_webview: true,
with_uws: false,
with_ssl: true,
debug_network: true
debug_network: false
};
const system = platform === Platform.Windows ? "win32" :
@ -142,7 +142,7 @@ if (platform === Platform.Windows) {
project.addLib(libdir + 'v8_monolith');
if (flags.with_webview) {
project.addIncludeDir('webview2/include');
project.addLib('WebView2Loader');
project.addLib(root + '/webview2/lib/x64/WebView2Loader');
}
if (!flags.release) {
project.addDefine('_HAS_ITERATOR_DEBUGGING=0');