mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-07-09 03:49:52 +02:00
Address review feedback on the PowerDisplay CLI: - CliPipeServer: keep the well-known, session-scoped pipe name continuously owned. Only the first instance uses FirstPipeInstance; each replacement instance is created before the just-served one is disposed, so a local process can no longer win the between-request gap to deny service or spoof CLI traffic. Extract an internal CreateServerStream seam and add unit tests (first-instance, overlap, squatter-detection). - PowerDisplay.Cli.csproj: set InvariantGlobalization=false explicitly so satellite-resource localization cannot be silently disabled by a future SDK-default change or an AOT size-reduction tweak. - Drop unrelated changes for PR atomicity: .superpowers/ from .gitignore and the unused "esac" spell-check token. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>