fix ffmpeg path for echogarden
This commit is contained in:
@@ -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);
|
||||
/*
|
||||
|
||||
@@ -441,7 +441,6 @@ ${log}
|
||||
height: 1080,
|
||||
minWidth: 1440,
|
||||
minHeight: 900,
|
||||
fullscreen: true,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, "preload.js"),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user