mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
remove debug log
This commit is contained in:
parent
a9edb5a9cf
commit
e83e7dc680
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue