Add FUSE fix wizard with pkexec installation

This commit is contained in:
2026-02-27 23:59:26 +02:00
parent 6208dab2b7
commit 8e95bbaabd
5 changed files with 247 additions and 0 deletions

View File

@@ -26,6 +26,18 @@ pub fn build_dashboard_page(db: &Rc<Database>) -> adw::NavigationPage {
.margin_end(18)
.build();
// FUSE warning banner if not functional
let fuse_info = fuse::detect_system_fuse();
if !fuse_info.status.is_functional() {
let banner = adw::Banner::builder()
.title("FUSE is not working - some AppImages may not launch")
.button_label("Fix Now")
.revealed(true)
.build();
banner.set_action_name(Some("win.fix-fuse"));
content.append(&banner);
}
// Section 1: System Status
content.append(&build_system_status_group());