mirror of
https://github.com/lumehq/lume.git
synced 2025-03-28 02:31:49 +01:00
76 lines
1.7 KiB
JSON
76 lines
1.7 KiB
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "desktop-capability",
|
|
"description": "Capability for the desktop",
|
|
"platforms": ["linux", "macOS", "windows"],
|
|
"windows": [
|
|
"main",
|
|
"splash",
|
|
"settings",
|
|
"search",
|
|
"nwc",
|
|
"activity",
|
|
"zap-*",
|
|
"event-*",
|
|
"user-*",
|
|
"editor-*",
|
|
"column-*"
|
|
],
|
|
"permissions": [
|
|
"path:default",
|
|
"event:default",
|
|
"window:default",
|
|
"app:default",
|
|
"resources:default",
|
|
"menu:default",
|
|
"tray:default",
|
|
"notification:allow-is-permission-granted",
|
|
"notification:allow-request-permission",
|
|
"notification:default",
|
|
"os:allow-locale",
|
|
"os:allow-platform",
|
|
"updater:default",
|
|
"updater:allow-check",
|
|
"updater:allow-download-and-install",
|
|
"window:allow-start-dragging",
|
|
"window:allow-create",
|
|
"window:allow-close",
|
|
"window:allow-set-focus",
|
|
"clipboard-manager:allow-write",
|
|
"clipboard-manager:allow-read",
|
|
"webview:allow-create-webview-window",
|
|
"webview:allow-create-webview",
|
|
"webview:allow-set-webview-size",
|
|
"webview:allow-set-webview-position",
|
|
"webview:allow-webview-close",
|
|
"dialog:default",
|
|
"dialog:allow-ask",
|
|
"dialog:allow-message",
|
|
"process:allow-restart",
|
|
"fs:allow-read-file",
|
|
"shell:allow-open",
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{
|
|
"url": "http://**/"
|
|
},
|
|
{
|
|
"url": "https://**/"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifier": "fs:allow-read-text-file",
|
|
"allow": [
|
|
{
|
|
"path": "$RESOURCE/locales/*"
|
|
},
|
|
{
|
|
"path": "$RESOURCE/resources/*"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|