fix: update fastlist directory

This commit is contained in:
Zamitto 2024-04-30 16:04:42 -03:00
parent 06d334d2d7
commit f14ddba807
4 changed files with 5 additions and 7 deletions

View file

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