Skip to main content

register_user_data_dir

Function register_user_data_dir 

Source
pub fn register_user_data_dir(dir: impl Into<PathBuf>)
Expand description

Tell the tripwire about a user data folder the application gives a webview itself (Tauri’s data_directory). Call it before the webview is created. The folders a policy or the WebView2 user-data environment variable names are added by guard_process_start.