Fix launcher paths and remove local hardcoding
This commit is contained in:
1 parent
e7a7d3f888
commit
13b1f2150c
15 files changed
+145
-66
No files matched your search
+1
-2
@@ -7097,7 +7097,7 @@ debug_logger.log_exception(e, context={"step": "处理福袋"})
|
||||
示例:快速启用截图镜像并保留调试图像(Linux/WSL 或 PowerShell 环境变量用法相似)
|
||||
|
||||
```bash
|
||||
EXTERNAL_DOUYIN_FUDAI_DIR=/mnt/share/douyin_debug SKIP_OCR_INIT=1 python run_cli.py --device-id <DEVICE_ID> --needswitch
|
||||
EXTERNAL_DOUYIN_FUDAI_DIR=<外部调试目录> SKIP_OCR_INIT=1 python run_cli.py --device-id <DEVICE_ID> --needswitch
|
||||
```
|
||||
|
||||
示例:禁用截图镜像以提高性能
|
||||
@@ -7361,4 +7361,3 @@ def get_fudai_contain(analyser, renwu: int = 2):
|
||||
- 第24章:OCR预处理和优化详解
|
||||
- 第25章:路径配置系统详解
|
||||
- 第26章:文本处理工具函数详解
|
||||
|
||||
+1
-2
@@ -13,7 +13,7 @@
|
||||
### ✅ 日志文件写入功能正常
|
||||
|
||||
**验证点1: 日志文件存在**
|
||||
- 文件路径: `C:\Users\12742\Desktop\douyin_guaji-main\logs\unified_2025-12-22.log`
|
||||
- 文件路径: `logs/unified_2025-12-22.log`
|
||||
- 文件大小: 8800 bytes
|
||||
- 总行数: 126行
|
||||
|
||||
@@ -96,4 +96,3 @@ GUI应用的日志写入功能:
|
||||
**测试状态**: ✅ 通过
|
||||
**功能状态**: ✅ 正常
|
||||
**建议**: 可以投入使用
|
||||
|
||||
+7
-6
@@ -19,8 +19,8 @@
|
||||
|
||||
2. **运行设置脚本(使用Bypass参数绕过执行策略)**
|
||||
```powershell
|
||||
cd "C:\Users\12742\Desktop\douyin_guaji-main"
|
||||
powershell.exe -ExecutionPolicy Bypass -File ".\setup_auto_commit.ps1"
|
||||
cd "<项目根目录>"
|
||||
powershell.exe -ExecutionPolicy Bypass -File ".\scripts\setup_auto_commit.ps1"
|
||||
```
|
||||
|
||||
3. **完成!** 脚本会自动创建定时任务,每小时自动提交和推送代码。
|
||||
@@ -51,8 +51,8 @@
|
||||
1. 选择"启动程序"
|
||||
2. 点击"下一步"
|
||||
3. 程序或脚本:输入 `powershell.exe`
|
||||
4. 添加参数:输入 `-ExecutionPolicy Bypass -File "C:\Users\12742\Desktop\douyin_guaji-main\auto_commit_push.ps1"`
|
||||
5. 起始于:输入 `C:\Users\12742\Desktop\douyin_guaji-main`
|
||||
4. 添加参数:输入 `-ExecutionPolicy Bypass -File "<项目根目录>\scripts\auto_commit_push.ps1"`
|
||||
5. 起始于:输入 `<项目根目录>`
|
||||
6. 点击"下一步"
|
||||
|
||||
### 步骤5:完成设置
|
||||
@@ -85,7 +85,9 @@
|
||||
您也可以使用以下PowerShell命令(以管理员身份运行)快速创建任务:
|
||||
|
||||
```powershell
|
||||
$action = New-ScheduledTaskAction -Execute "powershell.exe" -Argument "-ExecutionPolicy Bypass -File `"C:\Users\12742\Desktop\douyin_guaji-main\auto_commit_push.ps1`"" -WorkingDirectory "C:\Users\12742\Desktop\douyin_guaji-main"
|
||||
$projectRoot = "<项目根目录>"
|
||||
$scriptPath = Join-Path $projectRoot "scripts\auto_commit_push.ps1"
|
||||
$action = New-ScheduledTaskAction -Execute "powershell.exe" -Argument "-ExecutionPolicy Bypass -File `"$scriptPath`"" -WorkingDirectory $projectRoot
|
||||
|
||||
$trigger = New-ScheduledTaskTrigger -Once -At (Get-Date) -RepetitionInterval (New-TimeSpan -Hours 1) -RepetitionDuration (New-TimeSpan -Days 365)
|
||||
|
||||
@@ -130,4 +132,3 @@ Register-ScheduledTask -TaskName "Git自动提交推送" -Action $action -Trigge
|
||||
4. 切换到"触发器"选项卡
|
||||
5. 编辑触发器,修改重复间隔
|
||||
6. 保存更改
|
||||
|
||||
+1
-1
@@ -148,4 +148,4 @@ python run_cli.py --high-value-room-revisit-only-current-run
|
||||
2. **价值预测**:基于历史数据预测房间价值潜力
|
||||
3. **多策略**:支持不同的重访策略选择
|
||||
4. **统计报告**:生成重访效果统计报告</content>
|
||||
<parameter name="filePath">c:\Users\12742\Desktop\douyin_guaji-main\docs\高价值房间重访功能说明.md
|
||||
<parameter name="filePath">docs\高价值房间重访功能说明.md
|
||||
Reference in new issue
Block a user