feat: implement seed process initiation in PythonRPC

This commit is contained in:
Hachi-R 2024-12-21 15:34:29 -03:00
parent 09ea3b27f4
commit 5714c23073
2 changed files with 27 additions and 0 deletions

View file

@ -8,6 +8,7 @@ import crypto from "node:crypto";
import { logger } from "./logger";
import { Readable } from "node:stream";
import { app, dialog } from "electron";
import { startSeedProcess } from "./seed";
const binaryNameByPlatform: Partial<Record<NodeJS.Platform, string>> = {
darwin: "hydra-python-rpc",
@ -83,6 +84,8 @@ export class PythonRPC {
this.logStderr(childProcess.stderr);
this.pythonProcess = childProcess;
startSeedProcess();
}
}