Expand description
Shared environment variable names used by Winbrew’s path and config resolution.
These constants define the public environment-variable names that higher-level configuration code reads before it resolves the final application paths. They are stable strings that external scripts, tests, and administrators can rely on when overriding Winbrew’s defaults.
§Platform Notes
LOCALAPPDATA is a Windows-specific convention. Winbrew exports the name so
the default Windows application root can be derived consistently.
§Security Considerations
These values are read from the process environment via std::env::var.
Treat them as untrusted input until the caller validates or normalizes the
resulting path.
Constants§
- LOCALAPPDATA
- Standard Windows environment variable that points to the user’s Local AppData directory.
- WINBREW_
PATHS_ ROOT - Winbrew-specific environment variable that overrides the configured
paths.rootvalue.