docs: default export dir to <install root>\合并后的图片
Default output moves from ~/.cmbot/output (buried in the user profile) to a 合并后的图片\ folder next to Launcher.exe — easy to find and not replaced on update (NOT under app\, which is swapped each update). Falls back to ~/.cmbot/output if the install root is read-only; user can still pick any dir. docs/10 §4/§5, docs/02 config, docs/07 §7.5; tasks 17.22. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -988,6 +988,24 @@
|
||||
- [x] 文档:`docs/10` §3/§6/§8/§12/§16/§18、`docs/07` §4.3/§4.4 对齐
|
||||
- [ ] GUI 实测:提示文字出现 → 设置里更新 → 重启生效(真机)
|
||||
|
||||
### 17.22 默认导出目录改为程序旁的「合并后的图片」
|
||||
|
||||
前置阅读:
|
||||
|
||||
- `docs/10-lan-update.md`(§4 布局、§5 路径规则)
|
||||
- `docs/07-ui-design.md`(7.5 输出设置)
|
||||
|
||||
背景:
|
||||
|
||||
- 默认导出在 `~/.cmbot/output`,藏在用户目录深处不好找。改为放在**安装根**(`Launcher.exe` 旁)的 `合并后的图片\`:好找、不随 `app\` 更新替换。**不放 `app\`**(每次更新会被替换、导出会丢)。
|
||||
|
||||
任务:
|
||||
|
||||
- [x] 文档:`docs/10` §4/§5、`docs/02` 配置说明、`docs/07` §7.5 对齐
|
||||
- [ ] `file_service.get_output_dir()`:打包态优先 `<安装根>\合并后的图片`(安装根 = `get_app_dir().parent`),不可写回退 `get_data_dir()/output`;开发态用项目目录;补单测
|
||||
- [ ] 导出面板默认值随之变化(沿用 `get_output_dir()`,无需单独改)
|
||||
- [ ] GUI 实测:打包运行后默认导出到 `<安装根>\合并后的图片`,且更新后仍在
|
||||
|
||||
## 18. 后续暂缓任务
|
||||
|
||||
以下任务第一阶段暂不做,后续需要时再新增设计文档:
|
||||
|
||||
Reference in New Issue
Block a user