format
This commit is contained in:
parent
13a8ef86cb
commit
e91aed0020
1 changed files with 1 additions and 3 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue