fix: figurinha now uses ffmpeg from PATH and not a local one

This commit is contained in:
synt-xerror
2026-04-21 14:09:10 -03:00
parent 8a31f5fef7
commit 443bba0095

View File

@@ -25,7 +25,7 @@ const execFileAsync = promisify(execFile);
// ── Constants ────────────────────────────────────────────────
const DOWNLOADS_DIR = path.resolve("downloads");
const FFMPEG = os.platform() === "win32" ? ".\\bin\\ffmpeg.exe" : "./bin/ffmpeg";
const FFMPEG = "ffmpeg";
const MAX_STICKER_SIZE = 900 * 1024;
const SESSION_TIMEOUT = 2 * 60 * 1000;
const MAX_MEDIA = 30;