Skip to content

The agent that grows with you

fix(install): accept -SkipSetup alias and re-pin ffmpeg to a live BtbN tag (#125350)

Yuan Li54421a43c613
diff --git a/scripts/install.ps1 b/scripts/install.ps1
index 2fecfa60544..af9e02ef549 100644
--- a/scripts/install.ps1
+++ b/scripts/install.ps1
@@ -22,6 +22,9 @@ param(
[string]$Stage,
[switch]$ProtocolVersion,
[switch]$NonInteractive,
+ # Pre-rework spelling of -NonInteractive, still accepted so install
+ # wrappers written against the old switch keep binding (#125350).
+ [switch]$SkipSetup,
[switch]$Json,
[switch]$IncludeDesktop,
# Same opt-out as install.sh --skip-browser: PM records it, so later
@@ -38,6 +41,9 @@ param(
$ErrorActionPreference = "Stop"
+# -SkipSetup is the pre-rework spelling of -NonInteractive.
+if ($SkipSetup) { $NonInteractive = $true }
+
# --- Dot-source guard (part 1: detect) ---------------------------------------
# Tests (and any embedding host) dot-source this file (`. install.ps1`) to get
# at its FUNCTIONS. Only the definitions must enter the caller's session --