arc-locations
Locate Arc Browser executables on macOS and Windows.
[]
= "0.1"
Quick start
let path = get_arc_path?;
println!;
API
| Function | Returns | Description |
|---|---|---|
locate(channel) |
Result<BrowserLocation, LocateError> |
Find Arc for a specific ReleaseChannel. |
discover() |
Vec<BrowserLocation> |
All installed Arc channels. |
get_arc_path() |
Result<PathBuf, LocateError> |
Stable channel path. |
get_any_arc_stable() |
Result<PathBuf, LocateError> |
Best available, preferring stable. |
get_any_arc_latest() |
Result<PathBuf, LocateError> |
Best available, preferring newest. |
Re-exports
BrowserLocation, LocateError, ReleaseChannel from browser-locations-core.
Environment override
Platform note
Arc is available on macOS and Windows only. Lookups on Linux return LocateError::UnsupportedPlatform.