feat: apply suggestions

This commit is contained in:
Zamitto
2024-07-03 16:10:23 -03:00
parent ae3daa4c79
commit 153291f89f
10 changed files with 32 additions and 30 deletions

View File

@@ -3,7 +3,7 @@ import { gameRepository } from "@main/repository";
import { WindowManager } from "./window-manager";
import { createGame, updateGamePlaytime } from "./library-sync";
import { GameRunning } from "@types";
import { RPCManager } from "./download";
import { PythonInstance } from "./download";
export const gamesPlaytime = new Map<
number,
@@ -19,7 +19,7 @@ export const watchProcesses = async () => {
});
if (games.length === 0) return;
const processes = await RPCManager.getProcessList();
const processes = await PythonInstance.getProcessList();
for (const game of games) {
const executablePath = game.executablePath!;