mirror of
https://github.com/openai/codex.git
synced 2026-06-02 11:22:01 +00:00
fix: expose noninteractive installer flag
This commit is contained in:
committed by
Edward Frazer
parent
2cb39a8d6a
commit
fa5f8fe66f
@@ -1,5 +1,6 @@
|
||||
param(
|
||||
[string]$Release = "latest"
|
||||
[string]$Release = "latest",
|
||||
[switch]$NonInteractive
|
||||
)
|
||||
|
||||
Set-StrictMode -Version Latest
|
||||
@@ -27,7 +28,7 @@ function Prompt-YesNo {
|
||||
[string]$Prompt
|
||||
)
|
||||
|
||||
if ($env:CODEX_INSTALL_SCRIPT_NONINTERACTIVE -eq "true") {
|
||||
if ($NonInteractive) {
|
||||
return $false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user