下载/克隆仓库
在
Bot目录的上级(例如你的bot目录为./Wuyi/nb2,则cd至./Wuyi处)输入安装core命令
git clone https://github.com/Genshin-bots/gsuid_core.git --depth=1 --single-branch进入文件夹内
cd gsuid_core安装依赖
💡 提醒
可以根据你的喜好,自行选择uv, pdm, poetry等环境工具安装Core
或使用裸环境python&pip安装
# uv安装依赖方式
uv sync
uv run python -m ensurepip# poetry安装依赖方式
poetry install# pdm安装依赖方式
pdm install
pdm run python -m ensurepip# 不推荐该方式
python -m pip install -r requirements.txt1
2
安装所需插件可选
cd gsuid_core
cd plugins
# 安装v4 GenshinUID
git clone -b v4 https://github.com/KimigaiiWuyi/GenshinUID.git --depth=1 --single-branch
评论区