tauri-plugin-audio 0.1.0

Desktop audio capture plugin for Tauri
1
2
3
4
5
6
7
8
use std::path::Path;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let output_path = Path::new(env!("CARGO_MANIFEST_DIR")).join("guest-js/index.ts");
    tauri_plugin_audio::export_public_api_bindings::<tauri::test::MockRuntime>(&output_path)?;
    println!("generated {}", output_path.display());
    Ok(())
}