feat: improve sign out

This commit is contained in:
Chubby Granny Chaser
2024-06-21 01:34:59 +01:00
parent 0ac17e95ff
commit 8afb3c27dc
12 changed files with 35 additions and 15 deletions

View File

@@ -50,6 +50,7 @@ export class DownloadManager {
public static disconnect() {
if (this.aria2c) {
this.aria2c.kill();
this.connected = false;
}
}

View File

@@ -8,3 +8,4 @@ export * from "./how-long-to-beat";
export * from "./process-watcher";
export * from "./main-loop";
export * from "./repacks-manager";
export * from "./hydra-api";

View File

@@ -7,7 +7,7 @@ import { WindowManager } from "./window-manager";
import { createGame, updateGamePlaytime } from "./library-sync";
import { GameRunning } from "@types";
const gamesPlaytime = new Map<
export const gamesPlaytime = new Map<
number,
{ lastTick: number; firstTick: number }
>();