feat: launch options

This commit is contained in:
DecDuck
2025-04-27 21:07:39 +10:00
parent 4941f2a6fa
commit 0f717d51d0
12 changed files with 391 additions and 73 deletions

View File

@ -37,6 +37,10 @@ export type Game = {
mImageCarousel: string[];
};
export type GameVersion = {
launchCommandTemplate: string;
};
export enum AppStatus {
NotConfigured = "NotConfigured",
Offline = "Offline",
@ -54,7 +58,7 @@ export enum GameStatusEnum {
Updating = "Updating",
Uninstalling = "Uninstalling",
SetupRequired = "SetupRequired",
Running = "Running"
Running = "Running",
}
export type GameStatus = {
@ -66,17 +70,17 @@ export enum DownloadableType {
Game = "Game",
Tool = "Tool",
DLC = "DLC",
Mod = "Mod"
Mod = "Mod",
}
export type DownloadableMetadata = {
id: string,
version: string,
downloadType: DownloadableType
}
id: string;
version: string;
downloadType: DownloadableType;
};
export type Settings = {
autostart: boolean,
maxDownloadThreads: number,
forceOffline: boolean
}
autostart: boolean;
maxDownloadThreads: number;
forceOffline: boolean;
};