From c5d84038434d7eaba216276cb37fcc26d4bfa2b3 Mon Sep 17 00:00:00 2001 From: Hachi-R Date: Thu, 10 Apr 2025 17:17:20 -0300 Subject: [PATCH] fix: update binary path for hydra-httpdl executable --- src/main/services/python-rpc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/services/python-rpc.ts b/src/main/services/python-rpc.ts index 4ffbfd64..cfa9f035 100644 --- a/src/main/services/python-rpc.ts +++ b/src/main/services/python-rpc.ts @@ -27,7 +27,7 @@ export class PythonRPC { private static readonly RPC_PASSWORD = crypto.randomBytes(32).toString("hex"); private static readonly binaryPath = app.isPackaged - ? path.join(process.resourcesPath, "binaries", "hydra-httpdl.exe") + ? path.join(process.resourcesPath, "hydra-httpdl.exe") : path.join(__dirname, "..", "..", "binaries", "hydra-httpdl.exe"); private static pythonProcess: cp.ChildProcess | null = null;