Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m26s
- snapshot-store:配置化(on/everyMin/keep/keepDays/keepData);文件名改为 <时间>__<画板名>__<sha6>.json;索引补 kind/name/file;auto 节流 + 内容去重; auto ≤ keep(>2MB 收紧到 2)、受保护 ≤4、baseline 每板只留最新一份; 新增 stats/clear/dirOf/setCfg;清理只在发生裁剪时扫目录 - storage-file:移除 flush 逐次快照;新增 60s 粒度定时器(只扫脏画板); 启动基线、删除前 danger、退出补拍;开关关闭时全部跳过;导出 snapshot* API - 设置:备份与还原页新增「本地快照」组(开关/间隔/份数/占用/可回退时长/清理/打开文件夹) - 历史面板:动态副标题、类型标签、立即备份/打开文件夹/清理、关闭提示、改用主题 token - 恢复:走 migrateCanvas 迁移 + 清空撤销栈 + 刷新首页列表 - 新增 src/snapshot-actions.js(从 app.js 收编历史动作,app.js 净减 31 行) - Rust:新增 open_snapshot_dir(固定打开 appLocalDataDir/iwb-snapshots) 棘轮说明: - architecture-boundary-guard 前缀白名单新增 vault/board/snapshot(265–271 的三个跨层领域), 并重生成 sourceModules 顺序快照(新增 snapshot-actions.js 一行) - design-token-ratchet:把 style.css 的 .iwb-pname 字号换成 --iwb-font-sm, 抵消 270 已存在的 +1(font-size 写死 121→120),未调基线 - source-text-ratchet:app.js 9665 行(上限 9693),未上调
55 lines
1.8 KiB
JSON
55 lines
1.8 KiB
JSON
{
|
|
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
|
"productName": "image-workbench",
|
|
"version": "3.26.271",
|
|
"identifier": "com.malongan.imageworkbench",
|
|
"build": {
|
|
"frontendDist": "../dist",
|
|
"beforeDevCommand": "npm run build",
|
|
"beforeBuildCommand": "npm run lint && npm run build && node scripts/strip-plugins.js"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"title": "无限画布",
|
|
"width": 1440,
|
|
"height": 900,
|
|
"minWidth": 1024,
|
|
"minHeight": 640,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"center": true,
|
|
"dragDropEnabled": false
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; script-src 'self' blob:; worker-src 'self' blob:; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https:; font-src 'self' data:; connect-src 'self' ipc: http://ipc.localhost https: blob: data: http://127.0.0.1:30092 http://localhost:30092; object-src 'none'; base-uri 'none'; frame-ancestors 'none'"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"category": "GraphicsAndDesign",
|
|
"shortDescription": "无限画布 · 生图工作台",
|
|
"longDescription": "节点式无限画布,本地编排与生成图片,支持系统原生另存为。",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/[email protected]",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"createUpdaterArtifacts": true
|
|
},
|
|
"plugins": {
|
|
"updater": {
|
|
"endpoints": [
|
|
"https://download.maqiart.eu.org/updates/latest.json"
|
|
],
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDE3QUU1N0QwQUM5RjE1RjEKUldUeEZaK3MwRmV1RnhjNVhhSlhaSHkvbVRXNDdscHpOa0s0VHF4NHBBQVJBdDQ0dEVlck5FeEsK"
|
|
}
|
|
}
|
|
}
|