https://github.com/tricked-dev/appfinder
https://github.com/tricked-dev/appfinder
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/tricked-dev/appfinder
- Owner: Tricked-dev
- License: apache-2.0
- Created: 2023-01-19T17:28:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-29T13:12:05.000Z (about 3 years ago)
- Last Synced: 2025-01-16T10:17:18.883Z (about 1 year ago)
- Language: Rust
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Appfinder
find the location of applications on the system.
Resolves multiple folders on windows to find binaries on
## Usage
```rust
use appfinder::get_app_path;
fn main() {
let path = get_app_path("firefox");
println!("Firefox is located at: {:?}", path);
}
```
```rust
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