[chore] rework advanced launch

This commit is contained in:
MathieuG-P
2024-12-21 17:46:34 +01:00
parent 8776b036af
commit 3efcd40cdc
15 changed files with 221 additions and 87 deletions
@@ -1,11 +1,17 @@
import { BSVersion } from "shared/bs-version.interface";
export const LaunchMods = {
OCULUS: "oculus",
FPFC: "fpfc",
DEBUG: "debug",
SKIP_STEAM: "skip_steam",
} as const;
export type LaunchMod = typeof LaunchMods[keyof typeof LaunchMods];
export interface LaunchOption {
version: BSVersion,
oculus?: boolean,
desktop?: boolean,
debug?: boolean,
launchMods?: LaunchMod[],
additionalArgs?: string[],
admin?: boolean,
skipSteam?: boolean
admin?: boolean
}