From cdf7446647fe6c09c699744b5d2b7c5e56cc4cda Mon Sep 17 00:00:00 2001 From: Lucas Gabriel Date: Sat, 28 Sep 2024 19:32:55 -0300 Subject: [PATCH] Changed permissions for yt-dlp --- plugins/ytdlp-wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ytdlp-wrapper.js b/plugins/ytdlp-wrapper.js index c233bac..8d2298e 100644 --- a/plugins/ytdlp-wrapper.js +++ b/plugins/ytdlp-wrapper.js @@ -39,7 +39,7 @@ async function downloadYtDlp() { writer.on('finish', () => { if (os.platform() !== 'win32') { - fs.chmodSync(filePath, '755'); + fs.chmodSync(filePath, '-x'); } });