feat: restart downloads and move seed process initiation to main.ts

This commit is contained in:
Hachi-R 2024-12-22 22:40:18 -03:00
parent 65b1ec9b1f
commit 3aa8230e17
3 changed files with 24 additions and 9 deletions

View file

@ -8,7 +8,6 @@ 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",
@ -84,8 +83,6 @@ export class PythonRPC {
this.logStderr(childProcess.stderr);
this.pythonProcess = childProcess;
startSeedProcess();
}
}