Files
openbridge-token-usage-viewer/src-tauri/capabilities/default.json
imbytecat 4035fcb202 refactor: 统一将 Sidecar 模式中的 Server 更名为 App
- 将构建输出文件名从 `server-` 更改为 `app-` 以匹配新的命名规范。
- 将 Sidecar 模式中的 Server 统一更名为 App,以准确反映其作为主业务逻辑载体的角色,并同步更新相关配置、文件命名、日志信息及代码注释。
- 更新允许执行的二进制文件为应用程序二进制文件。
- 将 Sidecar Server 相关的术语和日志信息统一更新为 Sidecar App,以准确反映实际启动的应用程序名称。
- 将外部二进制文件路径从 server 更改为 app
2026-01-18 16:33:48 +08:00

28 lines
545 B
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"local": true,
"remote": {
"urls": [
"http://localhost:*",
"http://127.0.0.1:*",
"http{s}?://localhost(:\\d+)?/*"
]
},
"permissions": [
"core:default",
"core:window:allow-set-title",
{
"identifier": "shell:allow-execute",
"allow": [
{
"name": "binaries/app",
"sidecar": true
}
]
}
]
}