Crates.io | appfinder |
lib.rs | appfinder |
version | 0.1.2 |
source | src |
created_at | 2023-01-19 17:36:09.070516 |
updated_at | 2023-01-29 13:12:15.462738 |
description | Find the location to applications on Linux, Windows and MacOS |
homepage | |
repository | |
max_upload_size | |
id | 762718 |
size | 20,909 |
find the location of applications on the system.
Resolves multiple folders on windows to find binaries on
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);
}
thing | Windows | Macos | Linux |
---|---|---|---|
path | 🚫 | ✅ | ✅ |
desktop files | 🚫 | 🚫 | ✅ |
start menu | ✅ | 🚫 | 🚫 |
appdata | ✅ | 🚫 | 🚫 |