mirror of
https://github.com/tauri-apps/tauri.git
synced 2025-01-06 02:59:37 +03:00
19 lines
548 B
Rust
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");
|
|
}
|