Files
nyaterm/src-tauri/tauri.conf.json
T

79 lines
2.1 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "NyaTerm",
"version": "1.2.12",
"identifier": "com.kang.nyaterm",
"build": {
"beforeDevCommand": "pnpm prepare:conpty && pnpm build:mcp-sidecar && pnpm dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "pnpm prepare:conpty && pnpm build",
"frontendDist": "../dist"
},
"app": {
"macOSPrivateApi": true,
"windows": [
{
"label": "main",
"title": "NyaTerm",
"width": 1280,
"height": 800,
"transparent": true,
"visible": false,
"decorations": false,
"create": false
}
],
"security": {
"assetProtocol": {
"enable": true,
"scope": []
},
"csp": "default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: asset: http://asset.localhost https://asset.localhost; font-src 'self' data:; connect-src ipc: http://ipc.localhost; frame-src nyaterm-plugin: http://nyaterm-plugin.localhost https://nyaterm-plugin.localhost"
}
},
"bundle": {
"active": true,
"targets": "all",
"createUpdaterArtifacts": true,
"externalBin": [
"binaries/nyaterm-mcp"
],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"windows": {
"nsis": {
"installerIcon": "icons/icon.ico",
"installMode": "currentUser"
},
"wix": {
"upgradeCode": "f4b0dcc1-48c8-53c7-a0cf-7f36c5f1b27f"
}
}
},
"plugins": {
"deep-link": {
"desktop": {
"schemes": [
"nyaterm",
"ssh",
"telnet"
]
}
},
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDgyQUYxQTA2NTYyQTNEOTkKUldTWlBTcFdCaHF2Z29pS0pEdE13U3ZUMVZVTlpGVmQ0YlU2cWlORkdNWU1BY005MU01YjFiU2IK",
"endpoints": [
"https://downloads.nyaterm.app/latest.json"
],
"windows": {
"installMode": "passive"
}
}
}
}