Currently the destkop-entry plugin retains the entries emitted by the freedesktop-desktop-entry crate in reverse order.
For instance '$HOME/.local/share/applications/jetbrains-clion.desktop' is emitted first then
overriden by '/usr/share/applications/jetbrains-clion.desktop'.
Instead of Hashset::replace, Hashset::insert must be use to avoid overriding entries with higher priority.
Currently the destkop-entry plugin retains the entries emitted by the freedesktop-desktop-entry crate in reverse order.
For instance '$HOME/.local/share/applications/jetbrains-clion.desktop' is emitted first then overriden by '/usr/share/applications/jetbrains-clion.desktop'.
Instead of
Hashset::replace
,Hashset::insert
must be use to avoid overriding entries with higher priority.From freedesktop basedir specification:
From desktop-entries specification: