Skip to content

Commit

Permalink
docs(windows): Recommend users to use different data dirs for differe…
Browse files Browse the repository at this point in the history
…nt envs (#1141)

Source: MicrosoftEdge/WebView2Feedback#2323 (comment) (iirc it was also part of the actual docs somewhere but couldn't find it on first try)
  • Loading branch information
FabianLars authored Jan 18, 2024
1 parent 7aeb848 commit 33609e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
//!
//! event_loop.run(|_e, _evl|{
//! // process winit events
//!
//!
//! // then advance gtk event loop <----- IMPORTANT
//! #[cfg(target_os = "linux")]
//! while gtk::events_pending() {
Expand Down Expand Up @@ -1037,7 +1037,8 @@ pub trait WebViewBuilderExtWindows {
///
/// ## Warning
///
/// By default wry passes `--disable-features=msWebOOUI,msPdfOOUI,msSmartScreenProtection`
/// - Webview instances with different browser arguments must also have different [data directories](struct.WebContext.html#method.new).
/// - By default wry passes `--disable-features=msWebOOUI,msPdfOOUI,msSmartScreenProtection`
/// `--autoplay-policy=no-user-gesture-required` if autoplay is enabled
/// and `--proxy-server=<scheme>://<host>:<port>` if a proxy is set.
/// so if you use this method, you have to add these arguments yourself if you want to keep the same behavior.
Expand Down

0 comments on commit 33609e9

Please sign in to comment.