feat: store packaged user data under data directory

This commit is contained in:
chengma
2026-07-07 14:12:32 +08:00
parent caa04a9aa7
commit 148c4a73eb
33 changed files with 602 additions and 196 deletions
+1 -1
View File
@@ -87,5 +87,5 @@
<line x1="361" y1="105" x2="384" y2="105" stroke="#9aa3b2" stroke-width="2" marker-end="url(#arr)"/>
</g>
<text class="sub" x="24" y="394">① ③ 依赖账号已配置且已登录(④);未配/未登录则执行按钮禁用并提示去④。存储:config.json + SQLite + 本地 images/。</text>
<text class="sub" x="24" y="394">① ③ 依赖账号已配置且已登录(④);未配/未登录则执行按钮禁用并提示去④。存储:data/config.json + SQLite + data/images/。</text>
</svg>

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

+1 -1
View File
@@ -108,7 +108,7 @@
<g font-family="Consolas,monospace" font-size="11.5" fill="#586073">
<text x="14" y="42">[10:21:03] 文件 tw01.xlsx → 匹配账号「女装店」(9222)</text>
<text x="14" y="62">[10:21:05] 51100639510 采集旧标题:…顯瘦百搭T恤</text>
<text x="14" y="82">[10:21:07] 下载旧封面 → images/nuzhuang_01/51100639510_old.jpg</text>
<text x="14" y="82">[10:21:07] 下载旧封面 → data/images/nuzhuang_01/51100639510_old.jpg</text>
<text x="14" y="102">[10:21:08] set_collected ✓(已写 SQLite)</text>
<text x="14" y="122">[10:21:14] 52999999 别名「x别名」未匹配账号 → 略过</text>
<text x="14" y="142">[10:21:20] 采集完成 3/4,已回写 Excel 旧字段</text>

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

+1 -1
View File
@@ -33,7 +33,7 @@
<rect class="ta" x="14" y="36" width="190" height="78" rx="6"/>
<text class="cell" x="22" y="56" fill="#586073" font-size="11">精简标题、去「T恤」、</text>
<text class="cell" x="22" y="72" fill="#586073" font-size="11">突出韩版加绒保暖 ≤60字</text>
<text class="mut" x="14" y="128">启动自动加载 title_prompt.txt 回显</text>
<text class="mut" x="14" y="128">启动自动加载 data/title_prompt.txt 回显</text>
<!-- cover prompt: multi-template -->
<text class="sec" x="14" y="160">封面提示词(模板)</text>

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

+1 -1
View File
@@ -74,6 +74,6 @@
<g transform="translate(0,512)">
<rect class="btnP" x="822" y="0" width="100" height="34" rx="6"/><text class="btnPT" x="850" y="22">保存设置</text>
<text class="mut" x="18" y="22">模型清单存 config/ai_models.json(密钥本地明文);选择与参数存 config.json。均 gitignore。</text>
<text class="mut" x="18" y="22">模型清单存 data/config/ai_models.json(密钥本地明文);选择与参数存 data/config.json。均 gitignore。</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB