pub fn default_profile_dir(kind: Kind) -> Result<PathBuf>Expand description
Returns the stable per-kind default profile directory used when
browser-control start is invoked without --profile.
The directory is rooted under config_dir (so it tracks
BROWSER_CONTROL_CONFIG_DIR for tests and user overrides):
- macOS:
~/Library/Application Support/browser-control/profiles/<kind>/default/ - Linux:
~/.config/browser-control/profiles/<kind>/default/ - Windows:
%APPDATA%/browser-control/profiles/<kind>/default/
<kind> is the lowercase Kind variant name (chrome, edge,
chromium, brave, firefox). The split-by-kind is intentional:
Chromium and Firefox profile layouts are not interchangeable.
The directory is created lazily on first call.