51 lines
977 B
JSON
51 lines
977 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "main",
|
|
"description": "Capabilities for the app window",
|
|
"windows": [
|
|
"main",
|
|
"secondary"
|
|
],
|
|
"permissions": [
|
|
"core:path:default",
|
|
"core:event:default",
|
|
"core:window:default",
|
|
"core:app:default",
|
|
"core:resources:default",
|
|
"core:menu:default",
|
|
"core:tray:default",
|
|
"shell:allow-open",
|
|
{
|
|
"identifier": "shell:allow-execute",
|
|
"allow": [
|
|
{
|
|
"name": "exec-sh",
|
|
"cmd": "sh",
|
|
"args": [
|
|
"-c",
|
|
{
|
|
"validator": "\\S+"
|
|
}
|
|
],
|
|
"sidecar": false
|
|
}
|
|
]
|
|
},
|
|
"notification:default",
|
|
"os:allow-platform",
|
|
"os:allow-arch",
|
|
"os:allow-family",
|
|
"os:allow-version",
|
|
"os:allow-locale",
|
|
"fs:allow-document-read",
|
|
"fs:allow-document-write",
|
|
"fs:default",
|
|
"fs:allow-read-dir",
|
|
"fs:allow-read-file",
|
|
"fs:allow-stat",
|
|
"store:default",
|
|
"core:webview:allow-create-webview",
|
|
"core:webview:allow-create-webview-window"
|
|
]
|
|
}
|