feat: adding wine prefix

This commit is contained in:
Chubby Granny Chaser
2024-10-19 15:48:41 +01:00
parent a498f9dd80
commit 0e5d37a3a0
26 changed files with 423 additions and 130 deletions

View File

@@ -91,6 +91,7 @@ declare global {
) => Promise<void>;
createGameShortcut: (id: number) => Promise<boolean>;
updateExecutablePath: (id: number, executablePath: string) => Promise<void>;
selectGameWinePrefix: (id: number, winePrefixPath: string) => Promise<void>;
verifyExecutablePathInUse: (executablePath: string) => Promise<Game>;
getLibrary: () => Promise<LibraryGame[]>;
openGameInstaller: (gameId: number) => Promise<boolean>;
@@ -125,7 +126,11 @@ declare global {
getDiskFreeSpace: (path: string) => Promise<DiskSpace>;
/* Cloud save */
uploadSaveGame: (objectId: string, shop: GameShop) => Promise<void>;
uploadSaveGame: (
objectId: string,
shop: GameShop,
downloadOptionTitle: string | null
) => Promise<void>;
downloadGameArtifact: (
objectId: string,
shop: GameShop,