Files
2026-08-23 11:37:34 +08:00

62 lines
1.7 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "VNT Desktop",
"version": "2.0.2",
"identifier": "com.vnt.desktop",
"build": {
"beforeDevCommand": "pnpm dev",
"devUrl": "http://127.0.0.1:1420",
"beforeBuildCommand": "pnpm build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"label": "main",
"title": "VNT Desktop",
"width": 1180,
"height": 760,
"minWidth": 820,
"minHeight": 600,
"center": true,
"decorations": true,
"resizable": true,
"shadow": true
}
],
"security": {
"csp": "default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' asset: data:; connect-src 'self' ipc: http://ipc.localhost http://127.0.0.1:* https://api.github.com"
}
},
"bundle": {
"active": true,
"createUpdaterArtifacts": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/[email protected]",
"icons/icon.icns",
"icons/icon.ico"
],
"category": "Utility",
"shortDescription": "轻量、高效的虚拟局域网桌面客户端",
"longDescription": "VNT Desktop 用于创建和管理安全、快速的虚拟局域网连接。",
"windows": {
"wix": { "language": "zh-CN" },
"nsis": { "displayLanguageSelector": false }
}
},
"plugins": {
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEE3MTQzQjc3NTJGQjBGRTEKUldUaEQvdFNkenNVcHdwd0pRNEhDV1lTdkMzTDZLa1V3WGllMDRoMmxBNDdobi8wclN1dmo3cFoK",
"endpoints": [
"https://github.com/vnt-dev/vnt/releases/latest/download/latest.json"
],
"windows": {
"installMode": "passive"
}
}
}
}