fix: figurinha now uses ffmpeg from PATH and not a local one
This commit is contained in:
@@ -25,7 +25,7 @@ const execFileAsync = promisify(execFile);
|
|||||||
|
|
||||||
// ── Constants ────────────────────────────────────────────────
|
// ── Constants ────────────────────────────────────────────────
|
||||||
const DOWNLOADS_DIR = path.resolve("downloads");
|
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 MAX_STICKER_SIZE = 900 * 1024;
|
||||||
const SESSION_TIMEOUT = 2 * 60 * 1000;
|
const SESSION_TIMEOUT = 2 * 60 * 1000;
|
||||||
const MAX_MEDIA = 30;
|
const MAX_MEDIA = 30;
|
||||||
|
|||||||
Reference in New Issue
Block a user