chage fastlis.exe location to not conflict with linux build

This commit is contained in:
Zamitto 2024-04-26 00:22:28 -03:00
parent fd6ab62e13
commit 7f7d4a1db3
3 changed files with 7 additions and 4 deletions

View file

@ -9,8 +9,8 @@ const execFile = promisify(childProcess.execFile);
export const getProcesses = async (isPackaged: boolean) => {
if (process.platform == "win32") {
const binaryPath = isPackaged
? path.join(process.resourcesPath, "fastlist.exe")
: path.join(__dirname, "..", "..", "resources", "fastlist.exe");
? path.join(process.resourcesPath, "dist", "fastlist.exe")
: path.join(__dirname, "..", "..", "resources", "dist", "fastlist.exe");
const { stdout } = await execFile(binaryPath, {
maxBuffer: TEN_MEGABYTES,