Skip to content

feat: 新增 Windows uv 启动批处理脚本#321

Open
CodeIntegrity wants to merge 1 commit intolsdefine:mainfrom
CodeIntegrity:main
Open

feat: 新增 Windows uv 启动批处理脚本#321
CodeIntegrity wants to merge 1 commit intolsdefine:mainfrom
CodeIntegrity:main

Conversation

@CodeIntegrity
Copy link
Copy Markdown

@CodeIntegrity CodeIntegrity commented May 9, 2026

  • 新增 Windows 专用 uv 启动脚本 start_uv_windows.bat

  • 支持交互式选择多种前端/机器人启动模式

  • 自动准备 .venv 与指定 Python 版本,无需系统预装 Python

  • 根据模式安装对应依赖,优先复用 uv.lock 做依赖同步

  • 缺少 mykey.py 时自动从模板生成,降低首次启动门槛

  • 统一以 uv 作为环境和运行入口,减少本地环境差异

  • GUI、TUI、Bot 模式分别安装依赖,避免一次性安装全部可选包

  • uv venv 无法直接准备解释器时,自动回退到 uv python install,提升首次安装成功率

  • Windows 启动方式

  • Python 虚拟环境创建流程

  • 依赖安装与同步流程

  • 微信模式当前脚本内为单独安装 requestspycryptodomeqrcode,与 all-frontends 安装策略不同,后续如需统一可再调整

- 新增 Windows 专用 uv 启动脚本 `start_uv_windows.bat`
- 支持交互式选择多种前端/机器人启动模式
- 自动准备 `.venv` 与指定 Python 版本,无需系统预装 Python
- 根据模式安装对应依赖,优先复用 `uv.lock` 做依赖同步
- 缺少 `mykey.py` 时自动从模板生成,降低首次启动门槛

- 统一以 `uv` 作为环境和运行入口,减少本地环境差异
- GUI、TUI、Bot 模式分别安装依赖,避免一次性安装全部可选包
- 当 `uv venv` 无法直接准备解释器时,自动回退到 `uv python install`,提升首次安装成功率

- Windows 启动方式
- Python 虚拟环境创建流程
- 依赖安装与同步流程

- 当前工作区里 [`start_uv_windows.bat`](start_uv_windows.bat) 和 [`uv.lock`](uv.lock) 处于未跟踪状态,提交 PR 时建议一并纳入
- 微信模式当前脚本内为单独安装 `requests`、`pycryptodome`、`qrcode`,与 `all-frontends` 安装策略不同,后续如需统一可再调整
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant