From 69a7192fdaca31ad3a62978c0eb3744a54c85876 Mon Sep 17 00:00:00 2001 From: NimBold Date: Wed, 17 Jun 2026 10:44:24 +0330 Subject: [PATCH] fix(permissions): widen sidecar scope to allow-spawn and unrestricted args for runtime reliability --- src-tauri/capabilities/default.json | 35 +++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index c471f1a..550eab0 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -10,28 +10,55 @@ "dialog:default", "notification:default", "notification:allow-is-permission-granted", + "shell:allow-execute", + "shell:allow-spawn", { "identifier": "shell:allow-execute", "allow": [ { "name": "yt-dlp", "sidecar": true, - "args": ["--version"] + "args": true }, { "name": "aria2c", "sidecar": true, - "args": ["--version"] + "args": true }, { "name": "ffmpeg", "sidecar": true, - "args": ["-version"] + "args": true }, { "name": "deno", "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 } ] }