mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-18 23:44:12 +01:00
17 lines
329 B
Rust
17 lines
329 B
Rust
use tauri::{
|
|
generate_handler,
|
|
plugin::{Builder, TauriPlugin},
|
|
Runtime,
|
|
};
|
|
|
|
mod commands;
|
|
mod errors;
|
|
mod license;
|
|
|
|
use crate::commands::{activate, check};
|
|
pub use license::*;
|
|
|
|
pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
|
Builder::new("yaak-license").invoke_handler(generate_handler![check, activate]).build()
|
|
}
|