Skip to content

feat: add Windows PowerShell install script and platform-aware UI

刘福春 requested to merge feat/windows-install-compatibility into main

Summary

  • install.ps1: 新增 PowerShell 安装脚本,支持 -SkillName/-List/-Help 参数,通过 git clone + 目录联接完成安装
  • /install.ps1 端点: 新增 HTTP 路由提供 PowerShell 脚本下载
  • 平台切换 UI: Hero 和 SkillDrawer 组件增加 Linux/macOS Windows 选项卡,复制时显示平台名称防误操作
  • 文档更新: 使用指南和安装指南全流程增加 Windows 命令和 FAQ

Test Plan

  • Linux/macOS: curl -sSL .../install.sh | bash -s <skill> 正常执行
  • Windows PowerShell: 网页切换到 Windows 标签,复制命令后粘贴执行,可正常安装
  • Windows Git Bash: 切换到 Linux/macOS 标签,复制 curl | bash 命令同样可用

Merge request reports