feat: 新增 Windows uv 启动批处理脚本#321
Open
CodeIntegrity wants to merge 1 commit intolsdefine:mainfrom
Open
Conversation
- 新增 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` 安装策略不同,后续如需统一可再调整
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
新增 Windows 专用 uv 启动脚本
start_uv_windows.bat支持交互式选择多种前端/机器人启动模式
自动准备
.venv与指定 Python 版本,无需系统预装 Python根据模式安装对应依赖,优先复用
uv.lock做依赖同步缺少
mykey.py时自动从模板生成,降低首次启动门槛统一以
uv作为环境和运行入口,减少本地环境差异GUI、TUI、Bot 模式分别安装依赖,避免一次性安装全部可选包
当
uv venv无法直接准备解释器时,自动回退到uv python install,提升首次安装成功率Windows 启动方式
Python 虚拟环境创建流程
依赖安装与同步流程
微信模式当前脚本内为单独安装
requests、pycryptodome、qrcode,与all-frontends安装策略不同,后续如需统一可再调整