Decouple core Yaak logic from Tauri (#354)

This commit is contained in:
Gregory Schier
2026-01-08 20:44:25 -08:00
committed by GitHub
parent 3bcc0b8356
commit ef80216ca1
465 changed files with 3052 additions and 6234 deletions
+17
View File
@@ -0,0 +1,17 @@
use tauri::{
Runtime, generate_handler,
plugin::{Builder, TauriPlugin},
};
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()
}