-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Using Tauri/Wry with Fixed Version of Webview2 #1378
Comments
Evergreen distribution is the recommended way for most scenarios as Microsoft states. |
okay, I agree with this, thanks. |
I agree that this should not be WRY's concern. Adding a binary delivery mechanism is out of scope (for wry). That said, I think that Tauri should consider offering this as an option in its MS bundler configuration. To that end I have transferred this issue and renamed. |
My justification here is that there may be situations where you cannot rely on the internet for your installation and need to ship a complete system (e.g. airgapped systems). |
@geolehmann Note: When this is merged, you can print a user-friendly error if WebView2 is not installed, indicating that if the user doesn't have admin rights, their admin should install it for them. |
This will be available on the next release. |
Describe the bug
For the webview runtime, there is generally the possbility to pack the application with a fixed version of the runtime (aka bring-your-own, see https://developer.microsoft.com/en-us/microsoft-edge/webview2/). This is needed when the target audience has no elevated rights in their platform to install the runtime by theirself.
I couldn´t find a way to make wry work with the fixed version of the runtime (simply putting the app .exe in the unzipped runtime folder didn´t work). It seems, in C++ you can use the
CreateCoreWebView2EnvironmentWithOptions
function together with abrowserExecutableFolder
parameter to specifiy where the fixed version binaries are located. We need something similar for Wry.Steps To Reproduce
Expected behavior
Platform and Versions (please complete the following information):
OS: Windows
Would you assign yourself to resolve this bug?
Additional context
The text was updated successfully, but these errors were encountered: