subtitle-merge/src-tauri/capabilities/default.json

55 lines
No EOL
1.2 KiB
JSON

{
"identifier": "default",
"description": "Default capability for the app",
"windows": [
"main"
],
"permissions": [
{
"identifier": "fs:allow-read",
"description": "Allows reading video and subtitle files",
"paths": [
"**"
]
},
{
"identifier": "fs:allow-write",
"description": "Allows writing output video files",
"paths": [
"**"
]
},
{
"identifier": "fs:scope",
"description": "Allow access to app directory",
"paths": [
"$APP",
"$APPDATA",
"$APPLOCALDATA"
]
},
{
"identifier": "dialog:allow-open",
"description": "Allows opening file selection dialogs"
},
{
"identifier": "shell:allow-execute",
"description": "Allows executing FFmpeg commands and sidecars",
"allow": [
{
"name": "gemini-query",
"sidecar": true
}
]
},
{
"identifier": "core:event:allow-emit",
"description": "Allows emitting progress events"
},
{
"identifier": "core:window:allow-set-shadow",
"description": "Allows setting window shadow"
},
"store:default"
]
}