feat: add option to launch app at Windows startup
record-daemon / Build, check and test (push) Successful in 2m23s

- Add tauri-plugin-autostart dependency to Cargo.toml
- Add autostart permissions to capabilities/default.json
- Initialize autostart plugin in lib.rs with LaunchAgent config
- Add "Launch at Startup" toggle in Settings.vue Daemon tab with state management and async enable/disable functions
This commit is contained in:
2026-06-15 20:10:49 +02:00
parent ba4ed63f4c
commit 45aac067f8
4 changed files with 128 additions and 8 deletions
+1
View File
@@ -20,6 +20,7 @@ tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = ["protocol-asset"] }
tauri-plugin-opener = "2"
tauri-plugin-autostart = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
chrono = { version = "0.4", features = ["serde"] }