mirror of
https://github.com/OLmatter/glm-coding-helper.git
synced 2026-10-07 16:58:04 +08:00
Real root cause of 100% failure (finally visible via tee log): 'bootstrap_windows.ps1 : Missing an argument for parameter PipArg' one_click_start Invoke-Bootstrap passed '-PipArg -i -PipArg https://...' but PowerShell splatting treats the dash-prefixed '-i' as the NEXT parameter name, not the PipArg value -> bootstrap aborts before pip even runs. Same class of bug as the argparse one, one layer up. Fix: - Invoke-Bootstrap: join PipArg into a single ;-delimited string, pass one -PipArg value (no dash ambiguity at the PS param layer). - bootstrap_windows.ps1: PipArg is now [string]; split on ';' to recover the array, then emit '--pip-arg=VALUE' to setup_backend as before. - Verified: bootstrap_windows.ps1 -PipArg '-i;https://...' runs cleanly, setup_backend receives --pip-arg=-i --pip-arg=https://... correctly.