Restore original bundle file names

This commit is contained in:
2026-05-16 16:49:18 +08:00
parent 5a2248667d
commit 27fb516d1b
3 changed files with 289 additions and 13 deletions
+7
View File
@@ -50,6 +50,13 @@ OutputRoot/
restore.log
```
恢复时会尽量去掉去重打包时增加的名称前缀:
- `data/scene_<hash>_<原始数据名>/` 只作为 bundle 内部存储目录,恢复后不会在 `master/``slave/` 下额外保留这一层目录。
- `master/``slave/` 下直接放数据文件;如果数据文件名为 `scene_<hash>_<原始文件名>`,会恢复为 `<原始文件名>`
- `orbit/orbit_<hash>_<原始轨道文件名>` 会恢复为 `Task_*/orbit/<原始轨道文件名>`
- 如果 `pairs.json` 中提供了 `master_orbit_source_path` / `slave_orbit_source_path`,轨道文件会优先使用这些原始路径的文件名部分。
Task 目录名优先使用:
1. `task_alias`