Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows: Use
CoreWebView2EnvironmentOptions
API.
Use the CoreWebView2EnvironmentOptions API wrapper when creating a WebView2 environment on Windows, as opposed to using the ICoreWebView2EnvironmentOptions* COM interfaces. The wrapper exposes the interface methods with a more Rust-like API. It may be possible to do this with ICoreWebView2Controller as well, but I don't feel like experimenting with that right now. This is just an improvement I realised I could make while implementing tauri-apps#1339. Signed-off-by: Jamie Ridding <[email protected]>
- Loading branch information