mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
* feat(cli): update template with permissions and capabilities * update gitignore [skip ci]
17 lines
310 B
Rust
17 lines
310 B
Rust
use std::process::exit;
|
|
|
|
const COMMANDS: &[&str] = &["ping", "execute"];
|
|
|
|
fn main() {
|
|
if let Err(error) = tauri_build::mobile::PluginBuilder::new()
|
|
.android_path("android")
|
|
.ios_path("ios")
|
|
.run()
|
|
{
|
|
println!("{error:#}");
|
|
exit(1);
|
|
}
|
|
|
|
tauri_plugin::Builder::new(COMMANDS).build();
|
|
}
|