a5fd25f10a
- 客户端接入 tauri-plugin-updater:原生侧注册插件,删除自研更新下载命令、下载进度事件与安装器启动逻辑 - 客户端更新服务与更新提示改走官方插件接口,删除自研清单解析、版本比较与下载实现 - 更新能力只授予客户端主窗口,移除只为自研清单放行的 OSS 白名单与 CSP 连接项 - 新增构建期更新检查开关:开发态默认关闭,agc 启动不请求更新清单、不显示更新入口 - 发布脚本按渠道生成官方更新插件清单与签名,universal macOS 产物同时挂两个平台键,缺签名失败关闭 - 发布脚本按渠道上传安装包、签名与渠道清单,并为 dev-win 生成旧协议 sha256 迁移清单 - 构建期按渠道注入更新端点配置,渠道与目标平台不匹配时发布失败关闭 - Jenkins 流水线新增渠道参数与签名凭据注入,归档补充签名与迁移清单 - 新增发布上传 dry-run 开关,只打印 ossutil 命令且不回显凭据 - 更新技术方案与开发运维文档,登记 macOS 渠道落地待办
67 lines
2.6 KiB
JSON
67 lines
2.6 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "陶泥儿",
|
|
"version": "0.1.47",
|
|
"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: https://agc-dev.oss-rg-china-mainland.aliyuncs.com; 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: https://agc-dev.oss-rg-china-mainland.aliyuncs.com; 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",
|
|
"createUpdaterArtifacts": true,
|
|
"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"
|
|
]
|
|
},
|
|
"plugins": {
|
|
"updater": {
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDRFN0NFOEUzNDczNDg4Q0IKUldUTGlEUkg0K2g4VGpaQ3FiTXdoNnJTV0JDSWU4VjQrTkcrMkovS2RleFloUXVhdWZIVGpMOTYK",
|
|
"endpoints": [
|
|
"https://agc-dev.oss-rg-china-mainland.aliyuncs.com/agc/dev-win/latest.json"
|
|
],
|
|
"windows": {
|
|
"installMode": "quiet"
|
|
}
|
|
}
|
|
}
|
|
}
|