mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-21 17:09:09 +01:00
* Search and install plugins PoC * Checksum * Tab sidebar for settings * Fix nested tabs, and tweaks * Table for plugin results * Deep links working * Focus window during deep links * Merge branch 'master' into plugin-directory * More stuff
19 lines
374 B
Rust
19 lines
374 B
Rust
use tauri::{
|
|
generate_handler,
|
|
plugin::{Builder, TauriPlugin},
|
|
Runtime,
|
|
};
|
|
|
|
mod commands;
|
|
pub mod error;
|
|
mod license;
|
|
|
|
use crate::commands::{activate, check, deactivate};
|
|
pub use license::*;
|
|
|
|
pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
|
Builder::new("yaak-license")
|
|
.invoke_handler(generate_handler![check, activate, deactivate])
|
|
.build()
|
|
}
|