docs: 修正"根目录有 launcher 转发"的错误说明 + 入口命令改为 bin/

实际情况:根目录已不再保留 run_cli.py / gui_app.py / webgui_launcher.py /
manage_logs.py 的 launcher 转发,这些入口脚本统一在 bin/ 下,必须以
'python bin/run_cli.py ...' 形式调用。

之前的提交里我把"路径迁移说明"写成"入口仍可从仓库根直接运行"是错的,
本提交修正:

- README.md
  - 项目架构段末尾的"历史小贴士"改为完整的迁移表,明确入口在 bin/ 下
  - 5 处 'python run_cli.py' / 'python gui_app.py' / 'python webgui_launcher.py'
    全部改为 'python bin/...' 形式(分别在快速开始、命令行用法、Web GUI 启动、
    Issue 模板、测试模式段)

- docs/完整技术文档.md
  - 头部"路径迁移说明"末尾的"仍可从仓库根直接运行"改为"必须用 bin/ 前缀"

文档里其他正文中的 'python run_cli.py …' 命令属于历史正文,迁移说明已在文档头部
统一指引读者改读为 bin/ 前缀,不再逐句修订(避免改动 7000+ 行文档主体)。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
CodexandClaude Opus 4.7 committed 2026-05-21 13:10:07 +08:00
1 parent 9e189c711c
commit a46901ef5d
2 files changed
+19 -10

No files matched your search

+18 -9
View File
@@ -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
```
### 提交代码
+1 -1
View File
@@ -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 <name>.py` 运行——根目录保留了 launcher 转发。文档里 `python run_cli.py …` 的示例命令依旧可用。
> 入口脚本现在统一放在 `bin/` 下,根目录已不再保留 launcher 转发。文档里所有 `python run_cli.py …` 示例命令请改读为 `python bin/run_cli.py …`,其他入口同理。
-- 变更记录
- 2026-01-18: V4.5 — 修复预约更新后的循环问题,添加强制切换标志防止在同一直播间反复检测。