refactor: moved the game status to a global file (accessible to the render part) and used it in game entity

This commit is contained in:
lilezek 2024-04-29 20:50:10 +02:00
parent c6e4ba4789
commit 6fa4c178a7
13 changed files with 26 additions and 20 deletions

View file

@ -1,9 +1,9 @@
import { gameRepository } from "@main/repository";
import { GameStatus } from "@main/constants";
import { searchRepacks } from "../helpers/search-games";
import { registerEvent } from "../register-event";
import sortBy from "lodash/sortBy";
import { GameStatus } from "@globals";
const getLibrary = async (_event: Electron.IpcMainInvokeEvent) =>
gameRepository