mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Fixing downloads by replacing the torrent client
This commit is contained in:
parent
2aeeeaf15b
commit
fea59514bc
2 changed files with 51 additions and 49 deletions
|
@ -16,7 +16,7 @@ export const startAria2 = () => {
|
|||
"--allow-overwrite=true",
|
||||
"--log-level=debug",
|
||||
"--no-conf",
|
||||
"--disk-cache=128M"
|
||||
"--disk-cache=128M",
|
||||
],
|
||||
{ stdio: "inherit", windowsHide: true }
|
||||
);
|
||||
|
@ -27,7 +27,9 @@ export const startAria2 = () => {
|
|||
|
||||
aria2Process.on("exit", (code, signal) => {
|
||||
if (code !== 0) {
|
||||
console.error(`Aria2 process exited with code ${code} and signal ${signal}`);
|
||||
console.error(
|
||||
`Aria2 process exited with code ${code} and signal ${signal}`
|
||||
);
|
||||
} else {
|
||||
console.log("Aria2 process exited successfully");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue