edge-locations
Locate Microsoft Edge executables on macOS, Windows, and Linux.
Quick start
let path = get_any_edge_stable?;
println!;
API
| Function | Returns | Description |
|---|---|---|
locate(channel) |
Result<BrowserLocation, LocateError> |
Find Edge for a specific ReleaseChannel. |
discover() |
Vec<BrowserLocation> |
All installed Edge channels. |
get_edge_path() |
Result<PathBuf, LocateError> |
Stable channel path. |
get_edge_beta_path() |
Result<PathBuf, LocateError> |
Beta channel path. |
get_edge_dev_path() |
Result<PathBuf, LocateError> |
Dev channel path. |
get_edge_canary_path() |
Result<PathBuf, LocateError> |
Canary channel path (macOS/Windows only). |
get_any_edge_stable() |
Result<PathBuf, LocateError> |
Best available, preferring stable. |
get_any_edge_latest() |
Result<PathBuf, LocateError> |
Best available, preferring newest. |
Re-exports
BrowserLocation, LocateError, ReleaseChannel from browser-locations-core.
Environment override