Files
dudu/desktop/src-tauri/tauri.conf.json
wangjia 4aec0ef6e9
ci / server (push) Failing after 9s
ci / design-tokens (push) Failing after 10s
fix(desktop): 应用图标接入品牌设计(design/assets/app-icon.svg)
dock/任务栏此前显示纯蓝占位方块——icons/icon.png 只有底色没有 glyph。
从设计资产 app-icon.svg(蓝底圆角 + 白色圆圈声纹标)渲染 1024px 源图
(内容 824px 居中留边,符合 macOS 图标规范),tauri icon 生成全尺寸
图标集(icns/ico/png),bundle.icon 补全标准列表。

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

97 lines
2.1 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": {
"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/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}