Skip to main content

GameInfoType

Electron APIs / Overlay / GameInfoType

type GameInfoType = "Game" | "Launcher" | undefined;

Type of the detected game.

Used to differentiate whether the currently tracked process is a standalone game, a game launcher, or undefined.

Example

function handleType(type: GameInfoType) {
if (type === "Game") {
// Launch overlay
} else if (type === "Launcher") {
// Track launcher status only
}
}