mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 21:44:55 +03:00
remove debug log
This commit is contained in:
parent
a9edb5a9cf
commit
e83e7dc680
@ -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,
|
||||
[
|
||||
|
Loading…
Reference in New Issue
Block a user