1 2 3 4 5 6 7 8 9 10 11 12 13
const COMMANDS: &[&str] = &[ "open_window", "close_window", "list_windows", "emit_to_window", "restore_windows", ]; fn main() { use tauri_plugin::Builder; Builder::new(COMMANDS).build(); }