Add FUSE fix wizard with pkexec installation
Dashboard shows a banner when FUSE is not functional. The wizard detects the distro, shows the install command, and runs it via pkexec. Verifies FUSE status after installation completes.
This commit is contained in:
@@ -677,6 +677,16 @@ impl DriftwoodWindow {
|
||||
}
|
||||
self.add_action(&update_all_action);
|
||||
|
||||
let fix_fuse_action = gio::SimpleAction::new("fix-fuse", None);
|
||||
{
|
||||
let window_weak = self.downgrade();
|
||||
fix_fuse_action.connect_activate(move |_, _| {
|
||||
let Some(window) = window_weak.upgrade() else { return };
|
||||
crate::ui::fuse_wizard::show_fuse_wizard(&window);
|
||||
});
|
||||
}
|
||||
self.add_action(&fix_fuse_action);
|
||||
|
||||
// --- Context menu actions (parameterized with record ID) ---
|
||||
let param_type = Some(glib::VariantTy::INT64);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user