146 lines
3.2 KiB
JSON
Vendored
146 lines
3.2 KiB
JSON
Vendored
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "mobile-capability",
|
|
"description": "Capability for the main window",
|
|
"platforms": ["iOS", "android"],
|
|
"windows": ["*"],
|
|
"permissions": [
|
|
"core:default",
|
|
"core:webview:allow-internal-toggle-devtools",
|
|
"http:allow-fetch",
|
|
"http:allow-fetch-cancel",
|
|
"http:allow-fetch-read-body",
|
|
"http:allow-fetch-send",
|
|
"os:default",
|
|
"os:allow-os-type",
|
|
"os:allow-arch",
|
|
"os:allow-version",
|
|
"os:allow-hostname",
|
|
"sql:allow-load",
|
|
"sql:allow-execute",
|
|
"sql:allow-select",
|
|
"sql:allow-close",
|
|
"clipboard-manager:allow-write-text",
|
|
"notification:allow-is-permission-granted",
|
|
"notification:allow-request-permission",
|
|
"notification:allow-notify",
|
|
"notification:allow-register-action-types",
|
|
"notification:allow-register-listener",
|
|
"notification:allow-cancel",
|
|
"notification:allow-get-pending",
|
|
"notification:allow-remove-active",
|
|
"notification:allow-get-active",
|
|
"notification:allow-check-permissions",
|
|
"notification:allow-show",
|
|
"notification:allow-batch",
|
|
"notification:allow-list-channels",
|
|
"notification:allow-delete-channel",
|
|
"notification:allow-create-channel",
|
|
"notification:allow-permission-state",
|
|
"safe-area-insets:default",
|
|
"log:default",
|
|
"log:allow-log",
|
|
"barcode-scanner:default",
|
|
"barcode-scanner:allow-scan",
|
|
"barcode-scanner:allow-cancel",
|
|
"barcode-scanner:allow-check-permissions",
|
|
"barcode-scanner:allow-request-permissions",
|
|
"barcode-scanner:allow-open-app-settings",
|
|
"barcode-scanner:allow-vibrate",
|
|
"mic-recorder:allow-start-recording",
|
|
"mic-recorder:allow-stop-recording",
|
|
"core:app:allow-set-app-theme",
|
|
{
|
|
"identifier": "shell:allow-execute",
|
|
"allow": [
|
|
{
|
|
"name": "powershell",
|
|
"cmd": "powershell",
|
|
"args": true
|
|
},
|
|
{
|
|
"name": "systemPath",
|
|
"cmd": "cmd",
|
|
"args": [
|
|
"-c",
|
|
{
|
|
"validator": "\\S+"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifier": "fs:write-files",
|
|
"allow": [
|
|
{
|
|
"path": "**"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifier": "fs:allow-mkdir",
|
|
"allow": [
|
|
{
|
|
"path": "**"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifier": "fs:read-dirs",
|
|
"allow": [
|
|
{
|
|
"path": "**"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifier": "fs:read-files",
|
|
"allow": [
|
|
{
|
|
"path": "**"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifier": "fs:allow-copy-file",
|
|
"allow": [
|
|
{
|
|
"path": "**"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifier": "fs:allow-read-text-file",
|
|
"allow": [
|
|
{
|
|
"path": "**"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{
|
|
"url": "http://**"
|
|
},
|
|
{
|
|
"url": "https://**"
|
|
},
|
|
{
|
|
"url": "http://*:*"
|
|
},
|
|
{
|
|
"url": "https://*:*"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifier": "hula:default",
|
|
"scope": {
|
|
"allow": ["*"]
|
|
}
|
|
}
|
|
]
|
|
}
|