tools+csdk: 恢复脱敏后脚本的可运行性——resume_android.ps1 的 adb 改为探测已知安装位置、resume_rev.ps1 对临时分析脚本加存在性守卫、legacy demo 两个 C 程序的日志/快照路径改用 getenv("TEMP") 运行时解析(原硬编码本机路径本就不可移植)

This commit is contained in:
ZXCLI
2026-10-08 01:29:57 +08:00
parent ce885926fe
commit b0807cde31
4 changed files with 35 additions and 5 deletions
+7 -1
View File
@@ -56,6 +56,12 @@ if (-not (Test-Path "$pairsDir\pair_000.raw")) {
} else { Write-Host "官方数据已存在, 跳过" }
Write-Host "=== 8. 对比 ==="
python "%TEMP%\compare_live.py"
# compare_live.py was an ad-hoc analysis helper of the original session and is
# not shipped with the repo (临时分析脚本不入库); the step is skipped gracefully.
if (Test-Path "$env:TEMP\compare_live.py") {
python "$env:TEMP\compare_live.py"
} else {
Write-Host "跳过: %TEMP%\compare_live.py 不存在(一次性分析脚本,重新生成后再跑)"
}
Write-Host "=== 完成。下一步见 analysis\session_state.md ==="