fix: update binary path for hydra-httpdl executable

This commit is contained in:
Hachi-R
2025-04-10 17:17:20 -03:00
parent 8e01142225
commit c5d8403843

View File

@@ -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;