Skip to content

fix(api): navigate to map page before acquisition OCR#363

Merged
yltx merged 11 commits intoOpenWSGR:mainfrom
yltx:fix/acquisition-api-navigation
Mar 11, 2026
Merged

fix(api): navigate to map page before acquisition OCR#363
yltx merged 11 commits intoOpenWSGR:mainfrom
yltx:fix/acquisition-api-navigation

Conversation

@yltx
Copy link
Copy Markdown
Contributor

@yltx yltx commented Mar 11, 2026

修改内容/api/game/acquisition 端点之前假设游戏画面已经在地图页面上。添加 goto_page() 调用先导航到地图页面,使 API 在任意游戏状态下都可用。同时将版本号更新为 2.1.5。## 变更- autowsgr/server/routes/game.py: 在 OCR 识别前调用 goto_page(ctx, '地图页面') 导航到出征面板- autowsgr/__init__.py: 版本号 2.1.4.post1 → 2.1.5

@yltx yltx merged commit 8106a8e into OpenWSGR:main Mar 11, 2026
1 check failed
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