3 releases (1 stable)
Uses new Rust 2024
| 1.0.1 | Apr 2, 2026 |
|---|---|
| 0.2.2 | Apr 2, 2026 |
| 0.2.0 | Mar 31, 2026 |
#18 in #executable-path
Used in browser-locations
59KB
1.5K
SLoC
floorp-locations
Locate Floorp executables on macOS, Windows, and Linux.
cargo add floorp-locations
Quick start
let path = floorp_locations::get_floorp_path()?;
println!("{}", path.display());
API
| Function | Returns | Description |
|---|---|---|
locate(channel) |
Result<BrowserLocation, LocateError> |
Find Floorp for a specific ReleaseChannel. |
discover() |
Vec<BrowserLocation> |
All installed Floorp channels. |
get_floorp_path() |
Result<PathBuf, LocateError> |
Stable channel path. |
get_any_floorp_stable() |
Result<PathBuf, LocateError> |
Best available, preferring stable. |
get_any_floorp_latest() |
Result<PathBuf, LocateError> |
Best available, preferring newest. |
Re-exports
BrowserLocation, LocateError, ReleaseChannel from browser-locations-core.
Environment override
export BROWSER_LOCATIONS_FLOORP_STABLE_PATH=/usr/bin/floorp
Dependencies
~120–485KB
~11K SLoC