We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b71f0a6 commit ddf4936Copy full SHA for ddf4936
plugins/src/desktop_entries/mod.rs
@@ -161,7 +161,12 @@ impl<W: AsyncWrite + Unpin> App<W> {
161
keywords: entry.keywords().map(|keywords| {
162
keywords.split(';').map(String::from).collect()
163
}),
164
- icon: entry.icon().map(|x| x.to_owned()),
+ icon: Some(
165
+ entry
166
+ .icon()
167
+ .map(|x| x.to_owned())
168
+ .unwrap_or_else(|| "application-x-executable".to_string()),
169
+ ),
170
exec: exec.to_owned(),
171
path: path.clone(),
172
prefers_non_default_gpu: entry.prefers_non_default_gpu(),
0 commit comments