mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: apply suggestions
This commit is contained in:
parent
ae3daa4c79
commit
153291f89f
10 changed files with 32 additions and 30 deletions
|
|
@ -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!;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue