mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
chage fastlis.exe location to not conflict with linux build
This commit is contained in:
parent
fd6ab62e13
commit
7f7d4a1db3
3 changed files with 7 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue