This commit is contained in:
Mylloon 2025-05-19 23:05:35 +02:00
parent 13a8ef86cb
commit e91aed0020
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -16,9 +16,7 @@ import ffmpeg = require("ffmpeg-static");
let ffmpegPath;
try {
ffmpegPath = "ffmpeg";
require("child_process").execSync(`${ffmpegPath} -version`, {
stdio: "ignore",
});
require("child_process").execSync(`${ffmpegPath} -version`, { stdio: "ignore" });
} catch {
ffmpegPath = `${ffmpeg}`.replace("app.asar", "app.asar.unpacked");
}