Skip to main content

Crate brave_locations

Crate brave_locations 

Source
Expand description

Brave executable discovery helpers.

Macros§

define_getter
Defines a channel-specific getter that returns the executable path.

Structs§

BrowserLocation
A discovered browser executable.

Enums§

LocateError
Errors returned by browser discovery functions.
ReleaseChannel
Known release channels exposed by the workspace.

Functions§

discover
Discovers installed Brave executables.
get_any_brave_latest
Returns the best available Brave executable, preferring the newest channel first.
get_any_brave_stable
Returns the best available Brave executable, preferring stable first.
get_brave_beta_path
Returns the Brave beta executable path.
get_brave_nightly_path
Returns the Brave nightly executable path.
get_brave_path
Returns the stable Brave executable path.
locate
Locates a Brave executable for a specific channel.