remove debug log

This commit is contained in:
Zamitto 2024-05-30 13:44:36 -03:00
parent a9edb5a9cf
commit e83e7dc680

View File

@ -1,15 +1,12 @@
import path from "node:path";
import { spawn } from "node:child_process";
import { app } from "electron";
import { logger } from "./logger";
export const startAria2 = () => {
const binaryPath = app.isPackaged
? path.join(process.resourcesPath, "aria2", "aria2c")
: path.join(__dirname, "..", "..", "aria2", "aria2c");
logger.info("startAria2 on:", binaryPath);
return spawn(
binaryPath,
[