Function set_verso_resource_directory

Source
pub fn set_verso_resource_directory(path: impl Into<PathBuf>)
Expand description

Sets the Verso resources directory to ues for the webviews, note this only affects webviews created after you set this

ยงExample:

fn main() {
    tauri_runtime_verso::set_verso_path("../verso/target/debug/versoview");
    tauri_runtime_verso::set_verso_resource_directory("../verso/resources");
    tauri_runtime_verso::builder()
        .run(tauri::generate_context!())
        .unwrap();
}