chore: Update dependencies
This commit is contained in:
parent
1d031d99c1
commit
563128904b
7 changed files with 415 additions and 354 deletions
|
|
@ -94,7 +94,8 @@ impl<W: AsyncWrite + Unpin> App<W> {
|
|||
.as_ref()
|
||||
.map(|x| x.split(':').collect::<Vec<&str>>());
|
||||
|
||||
for (src, path) in DesktopIter::new(default_paths()) {
|
||||
for path in DesktopIter::new(default_paths()) {
|
||||
let src = PathSource::guess_from(&path);
|
||||
if let Ok(bytes) = std::fs::read_to_string(&path) {
|
||||
if let Ok(entry) = DesktopEntry::decode(&path, &bytes) {
|
||||
// Do not show if our desktop is defined in `NotShowIn`.
|
||||
|
|
@ -304,6 +305,7 @@ fn path_string(source: &PathSource) -> Cow<'static, str> {
|
|||
PathSource::LocalNix => "Nix".into(),
|
||||
PathSource::Nix => "Nix (System)".into(),
|
||||
PathSource::System => "System".into(),
|
||||
PathSource::SystemLocal => "Local (System)".into(),
|
||||
PathSource::SystemFlatpak => "Flatpak (System)".into(),
|
||||
PathSource::SystemSnap => "Snap (System)".into(),
|
||||
PathSource::Other(other) => Cow::Owned(other.clone()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue