Files
DPM/src-tauri/tauri.conf.json
T
Pine d6d69aa603 fix(tauri): 移除 macOSPrivateApi(未签名 dev 构建调用私有 API 导致启动 SIGTRAP 崩溃)
崩溃栈: NSBundle bundleWithIdentifier → objc2 msg_send → EXC_BREAKPOINT
窗口为标准全屏,无需私有 API;摄像头/麦克风权限由 Info.plist 声明,不受影响
2026-08-18 01:46:54 +08:00

41 lines
975 B
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "云超服昆创园OPC运营中心",
"version": "0.1.0",
"identifier": "com.pine.dpm",
"build": {
"beforeDevCommand": "yarn build && yarn dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "yarn build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "云超服昆创园OPC运营中心",
"width": 1200,
"height": 800,
"fullscreen": true,
"additionalBrowserArgs": "--autoplay-policy=no-user-gesture-required --enable-features=WebRtcHideLocalIpsWithMdns"
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": ["nsis", "app", "dmg"],
"macOS": {
"minimumSystemVersion": "10.15"
},
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}