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 43e73f2 commit 4a42fdaCopy full SHA for 4a42fda
1 file changed
src/cross_platform/windows/app_finding.rs
@@ -57,14 +57,15 @@ pub fn get_apps_from_registry(apps: &mut Vec<App>) {
57
let exe_string = exe_string.split(',').next().unwrap();
58
59
// make sure it ends with .exe
60
- if !exe_string.ends_with(".exe") {
+ if !exe_string.to_lowercase().ends_with(".exe"){
61
return;
62
}
63
64
+ let display_name = display_name.to_string_lossy();
65
if !display_name.is_empty() {
66
apps.push(App::new_executable(
- &display_name.clone().to_string_lossy(),
67
- &display_name.clone().to_string_lossy().to_lowercase(),
+ &display_name,
68
69
"Application",
70
exe_path,
71
None,
0 commit comments