fix: expose noninteractive installer flag

This commit is contained in:
efrazer-oai
2026-05-26 12:14:54 -07:00
committed by Edward Frazer
parent 2cb39a8d6a
commit fa5f8fe66f
+3 -2
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
}