Add portable mode with removable media detection and scanning
This commit is contained in:
@@ -149,7 +149,12 @@ pub fn build_priority_badge(record: &AppImageRecord) -> Option<gtk::Label> {
|
||||
}
|
||||
}
|
||||
|
||||
// 3. Wayland issue (not Native or Unknown)
|
||||
// 3. Portable / removable media
|
||||
if record.is_portable {
|
||||
return Some(widgets::status_badge("Portable", "info"));
|
||||
}
|
||||
|
||||
// 4. Wayland issue (not Native or Unknown)
|
||||
if let Some(ref ws) = record.wayland_status {
|
||||
let status = WaylandStatus::from_str(ws);
|
||||
if status != WaylandStatus::Unknown && status != WaylandStatus::Native {
|
||||
|
||||
Reference in New Issue
Block a user