Skip to content

Commit 4753e9d

Browse files
committed
fix: linux fixes
1 parent 3035a39 commit 4753e9d

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/cross_platform/linux.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,16 @@ fn get_installed_apps(path: &Path, store_icons: bool) -> Vec<App> {
8383
None
8484
};
8585

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-
});
86+
apps.push(App::new(
87+
name.to_string(),
88+
name.to_lowercase(),
89+
desc.to_string(),
90+
AppData::Command{
91+
command: cmd.to_string(),
92+
alias: args,
93+
icon
94+
}),
95+
);
9696

9797
apps
9898
}

0 commit comments

Comments
 (0)