tauri-plugin-shellx 2.0.16

Unlocked Tauri Shell Plugin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const COMMANDS: &[&str] = &[
    "execute",
    "spawn",
    "stdin_write",
    "kill",
    "kill_pid",
    "open",
    "fix_path_env",
    "where_is_command",
];

fn main() {
    tauri_plugin::Builder::new(COMMANDS)
        // .android_path("android")
        // .ios_path("ios")
        .build();
}