1 parent 6100e85 commit 5adb2eeCopy full SHA for 5adb2ee
1 file changed
README.md
@@ -35,9 +35,25 @@
35
## 开发
36
37
```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
+# 安装依赖
46
uv sync
-uv run python -m aao.app # 启动主控台(可选 --profile xxx.json)
-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
57
```
58
59
前置:管理员终端(PostMessage 输入需 UIPI 权限)+ AFA(arknights-frame-assistant)常驻 + 游戏窗口前台。
0 commit comments