mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 21:44:55 +03:00
Fixing downloads by replacing the torrent client
This commit is contained in:
parent
2aeeeaf15b
commit
fea59514bc
@ -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…
Reference in New Issue
Block a user