tauri/examples/api/src-tauri/build.rs
2024-03-01 08:29:01 -03:00

19 lines
548 B
Rust

// Copyright 2019-2024 Tauri Programme within The Commons Conservancy
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
fn main() {
tauri_build::try_build(
tauri_build::Attributes::new()
.codegen(tauri_build::CodegenContext::new())
.plugin(
"app-menu",
tauri_build::InlinedPlugin::new().commands(&["toggle", "popup"]),
)
.app_manifest(
tauri_build::AppManifest::new().commands(&["log_operation", "perform_request"]),
),
)
.expect("failed to run tauri-build");
}