fix(permissions): widen sidecar scope to allow-spawn and unrestricted args for runtime reliability

This commit is contained in:
NimBold
2026-06-17 10:44:24 +03:30
parent 7252e43e68
commit 69a7192fda
+31 -4
View File
@@ -10,28 +10,55 @@
"dialog:default", "dialog:default",
"notification:default", "notification:default",
"notification:allow-is-permission-granted", "notification:allow-is-permission-granted",
"shell:allow-execute",
"shell:allow-spawn",
{ {
"identifier": "shell:allow-execute", "identifier": "shell:allow-execute",
"allow": [ "allow": [
{ {
"name": "yt-dlp", "name": "yt-dlp",
"sidecar": true, "sidecar": true,
"args": ["--version"] "args": true
}, },
{ {
"name": "aria2c", "name": "aria2c",
"sidecar": true, "sidecar": true,
"args": ["--version"] "args": true
}, },
{ {
"name": "ffmpeg", "name": "ffmpeg",
"sidecar": true, "sidecar": true,
"args": ["-version"] "args": true
}, },
{ {
"name": "deno", "name": "deno",
"sidecar": true, "sidecar": true,
"args": ["--version"] "args": true
}
]
},
{
"identifier": "shell:allow-spawn",
"allow": [
{
"name": "yt-dlp",
"sidecar": true,
"args": true
},
{
"name": "aria2c",
"sidecar": true,
"args": true
},
{
"name": "ffmpeg",
"sidecar": true,
"args": true
},
{
"name": "deno",
"sidecar": true,
"args": true
} }
] ]
} }