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 3035a39 commit 4753e9dCopy full SHA for 4753e9d
1 file changed
src/cross_platform/linux.rs
@@ -83,16 +83,16 @@ fn get_installed_apps(path: &Path, store_icons: bool) -> Vec<App> {
83
None
84
};
85
86
- apps.push(App {
87
- icons: icon,
88
- name: name.to_string(),
89
- name_lc: name.to_lowercase(),
90
- desc: desc.to_string(),
91
- open_command: AppCommand::Function(crate::commands::Function::RunShellCommand(
92
- cmd.to_string(),
93
- args,
94
- )),
95
- });
+ apps.push(App::new(
+ name.to_string(),
+ name.to_lowercase(),
+ desc.to_string(),
+ AppData::Command{
+ command: cmd.to_string(),
+ alias: args,
+ icon
+ }),
+ );
96
97
apps
98
}
0 commit comments