d251525f77
登录后直接进入单窗口客户端首页并保留兼容命令 首页支持做游戏做素材做方案切换、附件队列和目录创建流程 项目组和项目开发占位改为同窗口切换并保存首条需求 顶部泥点充值合并展示,账户帮助配置回到底部侧栏 补充账户泥点精选素材读取与首页项目视觉测试 同步AI游戏创作实施文档、决策记录和上下文术语
43 lines
1.7 KiB
JSON
43 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "Genarrative AI Game Creator",
|
|
"version": "0.1.0",
|
|
"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": "AI 游戏创作",
|
|
"url": "index.html",
|
|
"width": 820,
|
|
"height": 640,
|
|
"minWidth": 720,
|
|
"minHeight": 520
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self' customprotocol: asset:; img-src 'self' asset: data: blob:; media-src 'self' asset: data: blob:; connect-src 'self' http://127.0.0.1:* ws://127.0.0.1:*; script-src 'self'; style-src 'self' 'unsafe-inline'; frame-src 'self'",
|
|
"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' 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",
|
|
"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"
|
|
]
|
|
}
|
|
}
|