From e95c10598cd9d4dd330a2b254dcf8a763209ef4c Mon Sep 17 00:00:00 2001 From: Ostap Brehin Date: Tue, 10 Jan 2023 18:18:54 +0000 Subject: [PATCH] Update README.md --- plugins/autostart/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/autostart/README.md b/plugins/autostart/README.md index 87e7d132..78859423 100644 --- a/plugins/autostart/README.md +++ b/plugins/autostart/README.md @@ -38,6 +38,8 @@ First you need to register the core plugin with Tauri: `src-tauri/src/main.rs` ```rust +use tauri_plugin_autostart::MacosLauncher; + fn main() { tauri::Builder::default() .plugin(tauri_plugin_autostart::init(MacosLauncher::LaunchAgent, Some(vec!["--flag1", "--flag2"]) /* arbitrary number of args to pass to your app */))