-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webview2Loader.dll not detected #26
Comments
In which directory are you trying to have it pick up WebView2Loader.dll from? In theory we should be getting the Standard Search Order for Desktop Applications. |
Yeah, I assumed that if you use |
Yeah, Webview2Loader won't be installed in a system directory, to my understanding; it's part of the Webview2 SDK, not the runtime. You need to have it bundled with your app. That's the main reason why go-webview2 bundles it and uses go-winloader. Webview2Loader doesn't have a whole lot of functionality in it, though. It mainly exists to just provide the logic for finding and loading Webview2. I have reverse engineered it over here: OpenWebView2Loader. (Addendum: go-webview2 attempts to load from disk first so that you can swap in a new binary without needing to recompile.) |
I think porting that to Go would be fun! |
Hey there 😄 Looks like webviewloader cannot detect
WebView2Loader.dll
in every scenario except if it is alongside the binary. Is that because the official DLL isn't in a default library directory? Cheers.The text was updated successfully, but these errors were encountered: