mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-02-01 19:15:07 +01:00
remove debug log
This commit is contained in:
@@ -1,15 +1,12 @@
|
|||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import { spawn } from "node:child_process";
|
import { spawn } from "node:child_process";
|
||||||
import { app } from "electron";
|
import { app } from "electron";
|
||||||
import { logger } from "./logger";
|
|
||||||
|
|
||||||
export const startAria2 = () => {
|
export const startAria2 = () => {
|
||||||
const binaryPath = app.isPackaged
|
const binaryPath = app.isPackaged
|
||||||
? path.join(process.resourcesPath, "aria2", "aria2c")
|
? path.join(process.resourcesPath, "aria2", "aria2c")
|
||||||
: path.join(__dirname, "..", "..", "aria2", "aria2c");
|
: path.join(__dirname, "..", "..", "aria2", "aria2c");
|
||||||
|
|
||||||
logger.info("startAria2 on:", binaryPath);
|
|
||||||
|
|
||||||
return spawn(
|
return spawn(
|
||||||
binaryPath,
|
binaryPath,
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user