v1.36.6
gentle-ai v1.36.6 — Windows one-liner installer fixed
Restores the documented irm | iex install path on Windows PowerShell.
What changed
-
scripts/install.ps1is nowirm | iex-compatible — top-level[CmdletBinding()]/param()blocks are only valid when PowerShell parses the file as a script. Running the documented one-liner on Windows PowerShell 5.1 threwAtributo 'CmdletBinding' inesperado/Token 'param' inesperadoand aborted before any download. Moved the parameters onto theMainfunction and splat$argsinto it, so both invocations keep working:# one-liner irm https://raw.githubusercontent.com/Gentleman-Programming/gentle-ai/main/scripts/install.ps1 | iex # script file with flags (unchanged) .\install.ps1 -Method binary -Insecure