mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 02:31:04 +02:00
parent
36f3db7411
commit
7f6fef6338
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ fn find_desktop_file_by_filename(app_id: &str, files: &[PathBuf]) -> Option<Path
|
||||||
// `com.company.app` or `com.app.something`
|
// `com.company.app` or `com.app.something`
|
||||||
app_id
|
app_id
|
||||||
.split(&[' ', ':', '@', '.', '_'][..])
|
.split(&[' ', ':', '@', '.', '_'][..])
|
||||||
.any(|part| name.contains(part))
|
.any(|part| name.eq_ignore_ascii_case(part))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
.map(|(file, _)| file.into())
|
.map(|(file, _)| file.into())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue