Merge remote-tracking branch 'origin/main' into feat/add-select-folder-modal-in-game-installation

This commit is contained in:
Hydra 2024-04-20 17:03:29 -03:00 committed by shadowtosser
commit 86cdc121e8
30 changed files with 416 additions and 275 deletions

View file

@ -55,12 +55,13 @@ declare global {
addGameToLibrary: (
objectID: string,
title: string,
shop: GameShop
shop: GameShop,
executablePath: string
) => Promise<void>;
getLibrary: () => Promise<Game[]>;
getRepackersFriendlyNames: () => Promise<Record<string, string>>;
openGameInstaller: (gameId: number) => Promise<boolean>;
openGame: (gameId: number, path: string) => Promise<void>;
openGame: (gameId: number, executablePath: string) => Promise<void>;
closeGame: (gameId: number) => Promise<boolean>;
removeGame: (gameId: number) => Promise<void>;
deleteGameFolder: (gameId: number) => Promise<unknown>;