Skip to content

Commit 5adb2ee

Browse files
committed
docs: 更新开发部分
1 parent 6100e85 commit 5adb2ee

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,25 @@
3535
## 开发
3636

3737
```bash
38+
# 拉取仓库(包含 MaaCommonAssets 子模块,OCR 模型配置依赖它)
39+
git clone --recursive https://github.com/Windsland52/ArknightsAutoOperator.git
40+
cd ArknightsAutoOperator
41+
42+
# 如果 clone 时没带 --recursive,可补拉子模块
43+
git submodule update --init --recursive
44+
45+
# 安装依赖
3846
uv sync
39-
uv run python -m aao.app # 启动主控台(可选 --profile xxx.json)
40-
uv run python -m aao.resources.syncer # 同步干员名 + 地图数据
47+
48+
# 配置 OCR 模型:从 MaaCommonAssets/OCR/ppocr_v6 生成 resource/base/model/ocr
49+
# 当前使用混合档:det=small,rec/keys=tiny
50+
uv run python tools/configure.py
51+
52+
# 启动主控台(可选 --profile xxx.json)
53+
uv run python -m aao.app
54+
55+
# 可选:同步干员名 + 地图数据
56+
uv run python -m aao.resources.syncer
4157
```
4258

4359
前置:管理员终端(PostMessage 输入需 UIPI 权限)+ AFA(arknights-frame-assistant)常驻 + 游戏窗口前台。

0 commit comments

Comments
 (0)