iex evaluates the script body in the caller's scope, so top-level side effects leak into the user's interactive PowerShell. Two leaks fixed: - Dropped 'exit $LASTEXITCODE' — would close the user's shell window. - Dropped 'Set-Location $Dir' — would leave the user sitting in .\installer\ after the run. install.ps1 uses $PSScriptRoot to find its templates, so it can be invoked from any CWD via its full path. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.7 KiB
1.7 KiB