Skip to main content

policy_user_data_dirs

Function policy_user_data_dirs 

Source
pub fn policy_user_data_dirs(
    values: &[RegValue],
    exe_name: &str,
    env: impl Fn(&str) -> Option<String>,
) -> Vec<PathBuf>
Expand description

The user data folders the WebView2 UserDataFolder policy names for this program, with environment references expanded. The browser writes its port file there, not in the folder the application chose, so the tripwire has to look there too.