tauri-plugin-dialog 2.0.0-alpha.0

Native system dialogs for opening and saving files along with message dialogs on your Tauri application.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT

use std::process::exit;

fn main() {
    if let Err(error) = tauri_build::mobile::PluginBuilder::new()
        .android_path("android")
        .ios_path("ios")
        .run()
    {
        println!("{error:#}");
        exit(1);
    }
}