use tauri::{
plugin::{Builder, TauriPlugin},
Runtime,
};
mod commands;
pub fn init<R: Runtime>() -> TauriPlugin<R> {
Builder::new("drag-as-window")
.invoke_handler(tauri::generate_handler![
commands::drag_new_window,
commands::drag_back,
commands::on_drop
])
.build()
}