mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: truncate game title on tray
This commit is contained in:
parent
8c0c3e617b
commit
3d8c63bc40
2 changed files with 2 additions and 4 deletions
|
@ -49,9 +49,7 @@ export class PythonInstance {
|
|||
public static killTorrent() {
|
||||
if (this.pythonProcess) {
|
||||
logger.log("killing torrent in python process");
|
||||
this.rpc
|
||||
.post("/action", { action: "kill-torrent" })
|
||||
.catch((err) => logger.error(err));
|
||||
this.rpc.post("/action", { action: "kill-torrent" });
|
||||
this.downloadingGameId = -1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue