Files
Spectral-Insight-Mission-Plan/src-tauri/tauri.conf.json
xin 24eaae8219 feat: scan canvas scanConfig support, aspect ratio fix, param panel layout
- 画布支持 scanConfig 坐标范围,修改 X/Y 范围后画布随之更新
- 修复 Y 轴标签位数超过 3 位时溢出画布边框
- 画布按扫描区域宽高比等比例显示
- 相机参数改为纵向排列,画布占比提升至 85%
2026-06-25 15:45:28 +08:00

53 lines
1.3 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Spectral Insight Mission Plan",
"version": "0.0.9",
"identifier": "com.spectral-insight.mission-plan",
"build": {
"beforeDevCommand": "npm run dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "npm run build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "Spectral Insight Mission Plan",
"width": 1400,
"height": 900,
"minWidth": 1024,
"minHeight": 600
}
],
"security": {
"csp": "default-src 'self' ipc: http://ipc.localhost; connect-src 'self' ws: http://localhost:1420; img-src 'self' asset: http://asset.localhost https: data: blob:; style-src 'self' 'unsafe-inline'; font-src 'self' data:;",
"assetProtocol": {
"enable": true,
"scope": ["**"]
}
}
},
"bundle": {
"active": true,
"targets": "nsis",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"resources": [
"../update.md",
"../说明书.md",
"../help.csv"
],
"windows": {
"nsis": {
"installMode": "perMachine",
"installerHooks": "./hooks.nsi"
}
}
}
}