Files
ESP32S3_vt/desktop/src-tauri/tauri.conf.json
T
sloray d9a27b69f3
构建客户端 / 检查(类型 + 单元测试) (push) Waiting to run
构建客户端 / Linux x64(deb + AppImage) (push) Blocked by required conditions
构建客户端 / Windows x64(NSIS 安装包) (push) Blocked by required conditions
构建客户端 / macOS 通用(.app + .dmg) (push) Blocked by required conditions
fix(ci): 版本校验在浅克隆下必然误报
- fix(ci): checkout 改成 fetch-depth: 0——没有标签、提交数恒为 1 时,
  version.mjs --check 算出来的版本一定是 0.0.0+1,于是每次推送都红
- fix(version): CHANGELOG 按标签区间重算全部历史,不再只渲染当前版本,
  否则每次发布都会把上一版那一段覆盖掉
- fix(build): 固件包文件名用算出来的版本,不再用 BUILD-INFO.json 里那套旧编号
2026-10-19 02:42:53 +08:00

54 lines
1.6 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "RMIC-2026",
"version": "0.2.1",
"identifier": "com.simbarobotics.rmic2026",
"build": {
"beforeDevCommand": "pnpm dev",
"devUrl": "http://127.0.0.1:1420",
"beforeBuildCommand": "pnpm build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"label": "main",
"title": "RMIC::2026",
"width": 1440,
"height": 900,
"minWidth": 900,
"minHeight": 600,
"maximized": true,
"resizable": true,
"fullscreen": false
}
],
"security": {
"csp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: asset: http://asset.localhost; media-src 'self' asset: http://asset.localhost blob:; connect-src 'self' ipc: http://ipc.localhost ws://127.0.0.1:*; object-src 'none'; base-uri 'self'; form-action 'none'",
"assetProtocol": {
"enable": true,
"scope": [
"$HOME/Movies/cam-desktop/**",
"$HOME/Videos/cam-desktop/**",
"$APPDATA/**",
"$TEMP/**"
]
}
}
},
"bundle": {
"active": true,
"targets": "all",
"category": "Utility",
"shortDescription": "RMIC::2026 —— 视野链路终端",
"longDescription": "RMIC::2026 视野链路终端。用户端:一路画面 + 装甲条与瞄准器。裁判端:两路画面 + 双方血量 + 装甲板发现列表 + 截图与录制。",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}