From 57bc59945685ec8e4bdb00a5477cbf70685717fb Mon Sep 17 00:00:00 2001 From: tu6ge Date: Sat, 30 Nov 2024 19:49:31 +0800 Subject: [PATCH] chore: update the auto login behavior (#34) --- src-tauri/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index c645136f..679bf268 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -105,7 +105,7 @@ fn enable_autostart(app: &mut tauri::App) { app.handle() .plugin(tauri_plugin_autostart::init( - MacosLauncher::LaunchAgent, + MacosLauncher::AppleScript, None, )) .unwrap();