-
Notifications
You must be signed in to change notification settings - Fork 12
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
Failed to run executible on clean windows install #15
Comments
What is the version of the Windows? You need the WebView 2. It seems that Windoow is getting the WebView 2 from Windows Updates, without requiring to manually install. The best option is to check if the WebView 2 is installed, https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#online-only-deployment. If it's not installed you can download it from https://developer.microsoft.com/en-us/microsoft-edge/webview2/. I think you can download and run it programmatically, when the WebView 2 is missing. |
Did I understand the readme wrong? I thought the WebView 2 is embeded in the executable when you build it and therefor you don't need to install webview 2 on the machine where you run it. |
What is embbeded is the |
Hi,
While everything should be embedded in one executable it should be possible to run the executable on an other computer.
I've just build your example. Installed a fresh instance of windows on vmware player and moved the executable to that instance.
When I run it i get:
2021/06/15 02:28:31 Failed to create webview2: failed to initialize the window: failed to embed the browser: failed to call CreateCoreWebView2EnvironmentWithOptions: The system could not find the environment option that was entered.
It looks like it's some how not embedded :(.
On the development machine it works.
Regards,
D4v1d
The text was updated successfully, but these errors were encountered: