mirror of
https://github.com/luminous-devs/lume.git
synced 2024-09-29 00:10:47 +00:00
42 lines
946 B
JSON
42 lines
946 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "desktop-capability",
|
|
"description": "Capability for the desktop",
|
|
"platforms": ["linux", "macOS", "windows"],
|
|
"windows": ["main", "settings", "event-*", "user-*", "column-*"],
|
|
"permissions": [
|
|
"path:default",
|
|
"event:default",
|
|
"window:default",
|
|
"app:default",
|
|
"resources:default",
|
|
"menu:default",
|
|
"tray:default",
|
|
"theme:allow-set-theme",
|
|
"theme:allow-get-theme",
|
|
"notification:allow-is-permission-granted",
|
|
"notification:allow-request-permission",
|
|
"notification:default",
|
|
"os:allow-locale",
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{
|
|
"url": "http://**/"
|
|
},
|
|
{
|
|
"url": "https://**/"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifier": "fs:allow-read-text-file",
|
|
"allow": [
|
|
{
|
|
"path": "$RESOURCE/locales/*"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|