Files
douyi_guaji_main/tools
Your Name dcded08796 feat: enhance swipe and back navigation logic
- Adjusted configuration for reset after swipes to 10 seconds and added action to go back.
- Updated flow control to skip back action if a recent reset was triggered within 5 seconds.
- Implemented a mechanism to enable back navigation when consecutive misses reach a threshold.
- Added GUI options to enable or disable back navigation on misses, ensuring consistency with user settings.
- Introduced new diagnostic tools for runtime flag checks and screenshot diagnostics.
- Created PowerShell scripts for restoring Start Menu shortcuts and performing system health checks.
- Added tests for swipe operations and back navigation to validate new logic.
2026-01-06 16:55:00 +08:00
..

tools/scan_coords.py — 坐标/ROI 扫描工具

用途

  • 扫描仓库中疑似硬编码坐标或裁剪区域(如 (100, 200)、(x1,y1,x2,y2))的代码行。
  • 输出 CSV 到 tools/coords_report.csv,便于人工或脚本进一步审查。

用法

python tools/scan_coords.py

输出

  • tools/coords_report.csv 包含字段:file,line,match,context。

注意

  • 本脚本使用简单正则匹配,可能存在误报/漏报,建议在生成报告后人工复核。
  • 可根据需要扩展正则或关键词列表以覆盖更多模式。