Add FUSE fix wizard with pkexec installation
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user