forked from LeenkxTeam/LNXRNT
Windows WebView2
This commit is contained in:
6
kfile.js
6
kfile.js
@ -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');
|
||||
|
||||
Reference in New Issue
Block a user