From beb64e9cf4674d005f36ea591ed46f2b37440f7f Mon Sep 17 00:00:00 2001 From: Kerboul Date: Sun, 12 Jan 2025 14:52:54 +0000 Subject: [PATCH] Correction de la commande d'installation de FFmpeg pour supprimer 'sudo' --- ffmpeg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.js b/ffmpeg.js index 4844ab0..4d603c5 100644 --- a/ffmpeg.js +++ b/ffmpeg.js @@ -3,7 +3,7 @@ const { exec } = require('child_process'); exec('ffmpeg -version', (error, stdout, stderr) => { if (error) { console.log('FFmpeg is not installed. Installing FFmpeg...'); - exec('apt update && sudo apt install -y ffmpeg', (installError, installStdout, installStderr) => { + exec('apt update && apt install -y ffmpeg', (installError, installStdout, installStderr) => { if (installError) { console.error(`Error installing FFmpeg: ${installError}`); return;