Files
Genarrative/apps/ai-game-creator-shell/src-tauri/tauri.conf.json
T
lhk229 18ed9778d8
Project CI / Repository checks (pull_request) Failing after 53s
Project CI / Frontend tests (pull_request) Failing after 2m17s
Project CI / Backend tests (pull_request) Failing after 3m39s
Project CI / Native shell tests (pull_request) Failing after 3m54s
拆分策划 Agent 与 Codex 随包清单
将 design-agent 资源包放到全平台 Tauri 基础配置
Windows 配置只保留 pinned Codex sidecar
配置门禁分别校验两份清单,禁止互相混入
2026-09-10 10:28:07 +00:00

55 lines
2.1 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Genarrative AI Game Creator",
"version": "0.1.12",
"identifier": "world.genarrative.ai-game-creator",
"build": {
"beforeDevCommand": "npm --prefix ../.. run agc:serve",
"beforeBuildCommand": "npm --prefix ../.. run ai-game-creator-shell:typecheck && npm --prefix ../.. exec vite -- build --config vite.config.ts",
"devUrl": "http://127.0.0.1:3080/",
"frontendDist": "../dist"
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"label": "client",
"title": "陶泥儿",
"url": "index.html",
"width": 1280,
"height": 800,
"decorations": false,
"minWidth": 1280,
"minHeight": 720
}
],
"security": {
"csp": "default-src 'self' customprotocol: asset:; img-src 'self' asset: data: blob:; media-src 'self' asset: data: blob:; connect-src 'self' https://agc-dev.oss-rg-china-mainland.aliyuncs.com http://127.0.0.1:* ws://127.0.0.1:*; script-src 'self'; style-src 'self' 'unsafe-inline'; frame-src 'self' http://127.0.0.1:*",
"devCsp": "default-src 'self' customprotocol: asset: http://127.0.0.1:*; img-src 'self' asset: http://127.0.0.1:* data: blob:; media-src 'self' asset: http://127.0.0.1:* data: blob:; connect-src 'self' https://agc-dev.oss-rg-china-mainland.aliyuncs.com http://127.0.0.1:* ws://127.0.0.1:*; script-src 'self'; style-src 'self' 'unsafe-inline'; frame-src 'self' http://127.0.0.1:*"
}
},
"bundle": {
"active": true,
"targets": "all",
"resources": {
"design-agent": "design-agent"
},
"linux": {
"deb": {
"depends": ["bubblewrap"]
},
"rpm": {
"depends": ["bubblewrap"]
}
},
"icon": [
"../../desktop-shell/src-tauri/icons/32x32.png",
"../../desktop-shell/src-tauri/icons/128x128.png",
"../../desktop-shell/src-tauri/icons/128x128@2x.png",
"../../desktop-shell/src-tauri/icons/icon.icns",
"../../desktop-shell/src-tauri/icons/icon.ico",
"../../desktop-shell/src-tauri/icons/icon.png"
]
}
}