You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(bootstrap): -InstallWinAppSdk as [switch] not [Nullable[bool]]
`[Nullable[bool]]$Foo = $null` doesn't get PowerShell's switch-style
parameter binding — passing a bare `-InstallWinAppSdk` errors with
"Missing an argument for parameter 'InstallWinAppSdk'." which is what
the bootstrap.yml run hit. Tri-state via nullable bool would have
required every caller (including the .EXAMPLE block in the doc
header) to write `-InstallWinAppSdk:$true`, which is a footgun.
Refactor to two mutually-exclusive [switch] parameters:
-InstallWinAppSdk force install non-interactively (CI / automation)
-NoWinAppSdk skip the prompt silently
(neither) prompt the user (default no)
Mutual exclusion checked at the top of the script (early exit with a
clear error before any side effects). The "default no, prompt"
behavior is preserved for interactive dev runs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments