fix: expose noninteractive installer flag

This commit is contained in:
efrazer-oai
2026-05-21 17:59:01 -07:00
committed by Edward Frazer
parent 2cb39a8d6a
commit fa5f8fe66f

View File

@@ -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
}