Files
zclaw_openfang/desktop/src-tauri/tauri.conf.json
iven 58aca753aa chore: 发布前准备 — 版本号统一 + 安全加固 + 死组件清理
- Cargo.toml workspace version 0.1.0 → 0.9.0-beta.1
- CSP 添加 object-src 'none' 防止插件注入
- .env.example 补充 SaaS 关键环境变量模板
- 移除已废弃的 SkillMarket.tsx 组件
2026-04-11 23:51:58 +08:00

46 lines
1.2 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "ZCLAW",
"version": "0.9.0-beta.1",
"identifier": "com.zclaw.desktop",
"build": {
"beforeDevCommand": "pnpm dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "pnpm build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "ZCLAW",
"width": 1200,
"height": 800,
"minWidth": 900,
"minHeight": 600,
"devtools": false
}
],
"security": {
"csp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; font-src 'self'; img-src 'self' asset: https://asset.localhost data: blob:; connect-src ipc: http://ipc.localhost http://localhost:* https://*; object-src 'none'; frame-ancestors 'none'; base-uri 'self'; form-action 'self'"
}
},
"bundle": {
"active": true,
"targets": "nsis",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"createUpdaterArtifacts": true
},
"plugins": {
"updater": {
"endpoints": [],
"pubkey": ""
}
}
}