feat: adding wine prefix

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

View file

@ -115,6 +115,7 @@ export interface Game {
bytesDownloaded: number;
playTimeInMilliseconds: number;
downloader: Downloader;
winePrefixPath: string | null;
executablePath: string | null;
lastTimePlayed: Date | null;
uri: string | null;
@ -333,6 +334,7 @@ export type GameAchievementFiles = {
export interface GameArtifact {
id: string;
artifactLengthInBytes: number;
downloadOptionTitle: string | null;
createdAt: string;
updatedAt: string;
hostname: string;

View file

@ -25,3 +25,18 @@ export interface LudusaviBackup {
export interface LudusaviFindResult {
games: Record<string, unknown>;
}
export interface LudusaviConfig {
manifest: {
enable: boolean;
secondary: {
url: string;
enable: boolean;
}[];
};
customGames: {
name: string;
files: string[];
registry: [];
}[];
}