mirror of
https://github.com/openai/codex.git
synced 2026-04-30 17:36:40 +00:00
Load requirements on windows (#10770)
We support requirements on Unix, loading from `/etc/codex/requirements.toml`. On MacOS, we also support MDM. Now, on Windows, we'll load requirements from `%ProgramData%\OpenAI\Codex\requirements.toml`
This commit is contained in:
@@ -356,7 +356,7 @@ mod tests {
|
||||
#[test]
|
||||
fn debug_config_output_lists_requirement_sources() {
|
||||
let requirements_file = if cfg!(windows) {
|
||||
absolute_path("C:\\etc\\codex\\requirements.toml")
|
||||
absolute_path("C:\\ProgramData\\OpenAI\\Codex\\requirements.toml")
|
||||
} else {
|
||||
absolute_path("/etc/codex/requirements.toml")
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user