2026-03-31 17:08:30 +08:00
|
|
|
{
|
|
|
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
|
|
|
"identifier": "default",
|
|
|
|
|
"description": "Capability for the main window",
|
|
|
|
|
"windows": ["main"],
|
|
|
|
|
"permissions": [
|
|
|
|
|
"core:default",
|
|
|
|
|
"opener:default",
|
|
|
|
|
"notification:default",
|
|
|
|
|
{
|
|
|
|
|
"identifier": "http:default",
|
|
|
|
|
"allow": [{ "url": "https://crm.yunvip123.com/**" }, { "url": "https://www.baidu.com/**" }]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"identifier": "http:allow-fetch",
|
|
|
|
|
"allow": [{ "url": "https://crm.yunvip123.com/**" }, { "url": "https://www.baidu.com/**" }]
|
|
|
|
|
},
|
|
|
|
|
"http:allow-fetch-cancel",
|
|
|
|
|
"http:allow-fetch-read-body",
|
|
|
|
|
"http:allow-fetch-send",
|
|
|
|
|
"autostart:default",
|
|
|
|
|
"autostart:allow-enable",
|
|
|
|
|
"autostart:allow-disable",
|
|
|
|
|
"autostart:allow-is-enabled",
|
|
|
|
|
"core:tray:default",
|
|
|
|
|
"core:tray:allow-new",
|
|
|
|
|
"core:tray:allow-set-icon",
|
|
|
|
|
"core:tray:allow-set-menu",
|
|
|
|
|
"core:tray:allow-set-tooltip",
|
|
|
|
|
"core:window:allow-close",
|
|
|
|
|
"core:window:allow-destroy",
|
|
|
|
|
"core:window:allow-show",
|
|
|
|
|
"core:window:allow-hide",
|
|
|
|
|
"core:window:allow-set-focus",
|
|
|
|
|
"core:window:allow-set-title",
|
|
|
|
|
"core:window:allow-unminimize",
|
|
|
|
|
"core:image:default",
|
|
|
|
|
"core:image:allow-from-path",
|
|
|
|
|
"updater:default",
|
|
|
|
|
"process:allow-restart",
|
|
|
|
|
"store:default"
|
|
|
|
|
]
|
|
|
|
|
}
|