fix ffmpeg path for echogarden

This commit is contained in:
an-lee
2024-03-17 10:37:15 +08:00
parent df2aac185a
commit d516530440
2 changed files with 1 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ import settings from "@main/settings";
import fs from "fs-extra";
import ffmpegPath from "ffmpeg-static";
Echogarden.setGlobalOption("ffmpegPath", ffmpegPath);
Echogarden.setGlobalOption("ffmpegPath", ffmpegPath.replace("app.asar", "app.asar.unpacked"));
const __filename = url.fileURLToPath(import.meta.url);
/*

View File

@@ -441,7 +441,6 @@ ${log}
height: 1080,
minWidth: 1440,
minHeight: 900,
fullscreen: true,
webPreferences: {
preload: path.join(__dirname, "preload.js"),
},