From 5b668bd9318868dd2021a6e7fd4908fb7df167d4 Mon Sep 17 00:00:00 2001 From: lashman Date: Fri, 27 Feb 2026 23:42:22 +0200 Subject: [PATCH] Wire auto-integrate setting to scan pipeline --- src/window.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/window.rs b/src/window.rs index 9b63653..9433c90 100644 --- a/src/window.rs +++ b/src/window.rs @@ -1036,6 +1036,8 @@ impl DriftwoodWindow { log::info!("Analyzing {} AppImage(s) in background ({} already running)", needs_analysis.len(), running); } if !needs_analysis.is_empty() { + let settings_scan = gio::Settings::new(crate::config::APP_ID); + let auto_integrate = settings_scan.boolean("auto-integrate"); let pending = Rc::new(std::cell::Cell::new(needs_analysis.len())); let refresh_timer: Rc>> = Rc::new(std::cell::Cell::new(None)); @@ -1047,7 +1049,7 @@ impl DriftwoodWindow { glib::spawn_future_local(async move { let _ = gio::spawn_blocking(move || { - analysis::run_background_analysis(id, path, appimage_type, false); + analysis::run_background_analysis(id, path, appimage_type, auto_integrate); }) .await;