mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
chore: update documentation
This commit is contained in:
@@ -16,6 +16,7 @@ use tauri::{
|
||||
|
||||
mod commands;
|
||||
|
||||
/// Initializes the plugin, exposing commands to exit or restart the current process.
|
||||
pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
||||
Builder::new("process")
|
||||
.invoke_handler(tauri::generate_handler![commands::exit, commands::restart])
|
||||
|
||||
Reference in New Issue
Block a user