Expand description
ยงAppfinder
find the location of applications on the system.
Resolves multiple folders on windows to find binaries on
ยงUsage
use appfinder::get_app_path;
fn main() {
let path = get_app_path("firefox");
println!("Firefox is located at: {:?}", path);
}use appfinder::get_app_path;
fn main() {
let path = get_app_path("discord");
println!("Discord is located at: {:?}", path);
}ยงOs support
| thing | Windows | Macos | Linux |
|---|---|---|---|
| path | ๐ซ | โ | โ |
| desktop files | ๐ซ | ๐ซ | โ |
| start menu | โ | ๐ซ | ๐ซ |
| appdata | โ | ๐ซ | ๐ซ |
ยงCaveats
- on linux desktopfiles return the full commands even arguments these can be manually removed
- the name of the application you want to find must be lowercase