feat #14740: scheduled retention

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
hauke
2026-11-10 14:10:36 +01:00
co-authored by Claude Opus 5.5
parent 9ded4f14d4
commit 0b735b2e98
6 changed files with 645 additions and 11 deletions
+4
View File
@@ -3,6 +3,7 @@ mod commands;
mod detection;
mod playback;
mod processing;
mod retention;
mod state;
mod tray;
mod updater;
@@ -129,6 +130,9 @@ pub fn run() {
create_windows(app.handle())?;
commands::apply_autostart(app.handle(), autostart);
processing::delete_leftover_jobs(app.handle(), leftover_jobs);
// After the startup recovery and the cache clears, with the
// windows there to hear what it deleted.
retention::spawn(app.handle().clone());
tray::create(app.handle())?;
detection::spawn(app.handle().clone());