3 Commits

Author SHA1 Message Date
0xmrpeter
9e14b8b8b7 fix(install): address code review issues in install scripts
- Add accepted-risk comment for NodeSource curl|bash pattern (HTTPS enforced)
- Fix wrapper script to use printf %q to safely handle special chars in repo_dir
- Add validate_args() to reject unsafe chars and path traversal in --git-dir/--version
- Add npm retry logic (3x, 2s delay) to install.ps1 to match install.sh behavior
- Fix nvm detection: replace unreliable command -v nvm with NVM_DIR/nvm.sh checks
- Add git re-check after install_git() with clear error if installation failed
- Fix PowerShell Add-ToPath null-safety for PATH on fresh installs
- Replace echo -e with printf %b to avoid flag misinterpretation in prompt_choice

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 09:53:55 +07:00
lngdao
278a0fdc43 fix(install): update taglines 2026-03-30 01:10:56 +07:00
lngdao
fe3d3397e5 feat(install): add macOS/Linux one-liner install script 2026-03-29 02:16:33 +07:00