1
0

Ensure all settings are saved independently and alert on errors

This commit is contained in:
2026-09-17 01:48:20 +02:00
parent 22ea72bccc
commit 34731c4e26
2 changed files with 21 additions and 12 deletions

View File

@@ -3557,6 +3557,7 @@ fn set_autostart(state: tauri::State<'_, AppState>, enabled: bool) -> CommandRes
let auto = auto_launch::AutoLaunchBuilder::new()
.set_app_name("Auto-Git")
.set_app_path(exe.to_string_lossy().as_ref())
.set_use_launch_agent(true)
.build()
.map_err(|e| e.to_string())?;
if enabled {