mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-28 23:11:37 +08:00
39 lines
1.2 KiB
JSON
39 lines
1.2 KiB
JSON
|
|
{
|
||
|
|
"$schema": "https://schema.tauri.app/config/2",
|
||
|
|
"productName": "Hermes",
|
||
|
|
"version": "0.0.0",
|
||
|
|
"identifier": "ai.nous.hermes.gui",
|
||
|
|
"build": {
|
||
|
|
"beforeDevCommand": "",
|
||
|
|
"beforeBuildCommand": "",
|
||
|
|
"devUrl": "http://127.0.0.1:9120",
|
||
|
|
"frontendDist": "../dist"
|
||
|
|
},
|
||
|
|
"app": {
|
||
|
|
"withGlobalTauri": true,
|
||
|
|
"windows": [
|
||
|
|
{
|
||
|
|
"label": "main",
|
||
|
|
"title": "Hermes",
|
||
|
|
"width": 1400,
|
||
|
|
"height": 900,
|
||
|
|
"minWidth": 900,
|
||
|
|
"minHeight": 600,
|
||
|
|
"resizable": true,
|
||
|
|
"center": true
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"security": {
|
||
|
|
"csp": "default-src 'self' http://127.0.0.1:* http://localhost:*; connect-src 'self' http://127.0.0.1:* http://localhost:* ws://127.0.0.1:* ws://localhost:*; img-src 'self' data: blob: http://127.0.0.1:* http://localhost:*; style-src 'self' 'unsafe-inline' http://127.0.0.1:* http://localhost:*; script-src 'self' 'unsafe-inline' 'unsafe-eval' http://127.0.0.1:* http://localhost:*"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"bundle": {
|
||
|
|
"active": true,
|
||
|
|
"icon": ["icons/32x32.png", "icons/icon.ico", "icons/icon.svg"],
|
||
|
|
"targets": ["nsis", "dmg", "app"],
|
||
|
|
"resources": {
|
||
|
|
"sidecars": "sidecars/"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|