You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than relying on users to provide and bundle WebView2Loader.dll or statically link WebView2Loader.lib, a custom WV2 loader implementation can be embedded in webui.
An existing embedded Windows WV2 loader is referenced below:
Yes, good idea, this will be helpful. We should try using loader.hh as it is, so we can get updates later.
Also, both projects are MIT licensed, so all good 👍
We shouldn't use loader.hh or other files from webview directly, as it requires a minimum C++11 compiler rather than building with pure C. It shouldn't be infeasible to add a custom C implementation and maintain it separately; any major improvements/fixes can still be shared between libraries.
I checked the file very quickly, and I did not even notice it's in C++ !
However, we can keep this in our to-do list, implementing it may take some time., but it's very good feature to have.
I have a small question. Currently, the function show_wv needs to be linked to the dynamic link library WebView2Loader.dll during compilation to work properly, right?
Rather than relying on users to provide and bundle
WebView2Loader.dll
or statically linkWebView2Loader.lib
, a custom WV2 loader implementation can be embedded inwebui
.An existing embedded Windows WV2 loader is referenced below:
https://github.com/webview/webview/blob/master/core/include/webview/detail/platform/windows/webview2/loader.hh
The text was updated successfully, but these errors were encountered: