Files
dudu/desktop/src-tauri/tauri.conf.json
T
wangjia 45e40ccd13
ci / server (push) Failing after 11s
ci / design-tokens (push) Failing after 10s
desktop: 联调发现的透明窗口修复 + 联调验收报告与文档索引
- tauri.conf.json 启用 macOSPrivateApi、Cargo.toml 加 macos-private-api feature:
  overlay/tray 为 transparent 窗口,macOS 上 WKWebView 透明必须开启该项,
  否则浮层带不透明底色(tauri dev 启动日志明确告警)
- doc/desktop-integration-acceptance.html:#12/#1C 联调验收报告
  (mac 全链路通过、12B 延迟基线与短句问题、12C 四场景全过、商业链路通过、遗留项清单)
- doc/index.html:项目文档索引(全局文档规范要求)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 12:18:22 +08:00

92 lines
2.0 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "dudu",
"version": "0.1.0",
"identifier": "app.dudu.desktop",
"build": {
"beforeDevCommand": "npm run dev",
"devUrl": "http://localhost:5181",
"beforeBuildCommand": "npm run build",
"frontendDist": "../dist"
},
"app": {
"macOSPrivateApi": true,
"windows": [
{
"label": "settings",
"title": "dudu 设置",
"url": "index.html",
"width": 440,
"height": 560,
"resizable": false,
"visible": false
},
{
"label": "overlay",
"title": "dudu",
"url": "overlay.html",
"width": 360,
"height": 140,
"visible": false,
"transparent": true,
"decorations": false,
"alwaysOnTop": true,
"focus": false,
"skipTaskbar": true,
"shadow": false
},
{
"label": "login",
"title": "dudu — 登录",
"url": "login.html",
"width": 400,
"height": 520,
"resizable": false,
"visible": false
},
{
"label": "tray",
"title": "dudu",
"url": "tray.html",
"width": 248,
"height": 300,
"resizable": false,
"visible": false,
"transparent": true,
"decorations": false,
"alwaysOnTop": true,
"skipTaskbar": true,
"shadow": false
},
{
"label": "feedback",
"title": "反馈问题",
"url": "feedback.html",
"width": 460,
"height": 560,
"resizable": false,
"center": true,
"visible": false
},
{
"label": "onboarding",
"title": "欢迎使用 dudu",
"url": "onboarding.html",
"width": 560,
"height": 480,
"resizable": false,
"center": true,
"visible": false
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": ["icons/icon.png"]
}
}