Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

315 B
Raw Blame
use serde::de::DeserializeOwned;
use tauri::{plugin::PluginApi, AppHandle, Runtime};

pub fn init<R: Runtime, C: DeserializeOwned>(
    app: &AppHandle<R>,
    _api: PluginApi<R, C>,
) -> Webdriver<R> {
    Webdriver(app.clone())
}

/// Access to the webdriver APIs.
pub struct Webdriver<R: Runtime>(AppHandle<R>);