mirror of
https://github.com/lumehq/lume.git
synced 2025-04-11 13:30:04 +02:00
70 lines
1.5 KiB
JSON
70 lines
1.5 KiB
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "desktop-capability",
|
|
"description": "Capability for the desktop",
|
|
"platforms": ["linux", "macOS", "windows"],
|
|
"windows": [
|
|
"main",
|
|
"splash",
|
|
"settings",
|
|
"nwc",
|
|
"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:allow-check",
|
|
"updater:default",
|
|
"window:allow-start-dragging",
|
|
"window:allow-create",
|
|
"window:allow-close",
|
|
"store:allow-get",
|
|
"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:allow-open",
|
|
"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/*"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|