diff --git a/README.md b/README.md index 0f5f09f..faab086 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ Issue 模板参考: - 设备型号:例如 Mi 10 复现步骤: -1. 启动脚本:`python run_cli.py --...` +1. 启动脚本:`python bin/run_cli.py --...` 2. 执行到 XX 步骤 3. 观察到异常 @@ -457,7 +457,7 @@ adb devices 1. **启动 GUI** ```bash - python gui_app.py + python bin/gui_app.py ``` 2. **配置参数** @@ -479,10 +479,10 @@ adb devices ```bash # 基本用法 -python run_cli.py --needswitch --wait-minutes 5 +python bin/run_cli.py --needswitch --wait-minutes 5 # 完整参数示例 -python run_cli.py \ +python bin/run_cli.py \ --device-id MB75DEFQZHZTGMLJ \ --y-pianyi 0 \ --needswitch \ @@ -509,7 +509,7 @@ python run_cli.py \ 一键启动WebGUI.bat # 方式2:命令行运行 - python webgui_launcher.py + python bin/webgui_launcher.py ``` 2. **访问界面** @@ -961,9 +961,18 @@ python run_cli.py \ └── state/ # 运行时状态文件(gitignored) ``` -> 历史小贴士:旧文档可能仍提及根目录的 `Underlying_Operations.py` / `path_config.py` / `run_cli.py`。 -> 这三个文件已分别迁移到 `douyin/core/underlying_operations.py`、`douyin/core/path_config.py`、`bin/run_cli.py`, -> 入口脚本仍可从仓库根直接运行(保留 launcher 转发)。 +> 历史小贴士:旧文档可能仍提及根目录的 `Underlying_Operations.py` / `path_config.py` / `run_cli.py` / +> `gui_app.py` / `webgui_launcher.py` / `manage_logs.py`。这些文件已分别迁移到: +> +> | 旧位置(根目录) | 新位置 | +> |---|---| +> | `Underlying_Operations.py` | `douyin/core/underlying_operations.py` | +> | `path_config.py` | `douyin/core/path_config.py` | +> | `unified_logger.py` | `douyin/logging/unified_logger.py` | +> | `version.py` | `douyin/core/version.py` | +> | `run_cli.py` / `gui_app.py` / `webgui_launcher.py` / `manage_logs.py` | `bin/<同名>` | +> +> 入口脚本现在统一在 `bin/` 下,命令应写为 `python bin/run_cli.py …`、`python bin/gui_app.py` 等。 ### 核心模块说明 @@ -1338,7 +1347,7 @@ python run_cli.py \ 4. **使用测试模式** ```bash - python run_cli.py --test-yanghao-flow + python bin/run_cli.py --test-yanghao-flow ``` ### 提交代码 diff --git a/docs/完整技术文档.md b/docs/完整技术文档.md index e8f04df..a4f2603 100644 --- a/docs/完整技术文档.md +++ b/docs/完整技术文档.md @@ -23,7 +23,7 @@ > | `from Underlying_Operations import …` | `from douyin.core.underlying_operations import …` | > | `from path_config import …` | `from douyin.core.path_config import …` | > -> 入口脚本(`bin/run_cli.py`、`bin/gui_app.py` 等)仍可从仓库根直接 `python .py` 运行——根目录保留了 launcher 转发。文档里 `python run_cli.py …` 的示例命令依旧可用。 +> 入口脚本现在统一放在 `bin/` 下,根目录已不再保留 launcher 转发。文档里所有 `python run_cli.py …` 示例命令请改读为 `python bin/run_cli.py …`,其他入口同理。 -- 变更记录 - 2026-01-18: V4.5 — 修复预约更新后的循环问题,添加强制切换标志防止在同一直播间反复检测。