fix(onboarding): also ask OS for X-Plane, not just 'other'

X-Plane runs on Windows/Mac/Linux same as any non-MSFS sim, so it
should trigger the OS follow-up too.
This commit is contained in:
itsrubberduck
2026-07-09 17:26:11 +02:00
parent 67385aedaa
commit 5531da0e9a
4 changed files with 19 additions and 7 deletions

View File

@@ -34,6 +34,9 @@ export const OS_OPTIONS: OnboardingOption<OperatingSystem>[] = [
{ value: 'linux', label: 'Linux', icon: 'mdi-linux' },
]
/** Simulators that aren't Windows-only — asking OS here tells us real platform reach. */
export const SIMULATORS_REQUIRING_OS: Simulator[] = ['xplane12', 'other']
export const HARDWARE_OPTIONS: OnboardingOption<HardwareItem>[] = [
{ value: 'keyboard_mouse', label: 'Keyboard & mouse', icon: 'mdi-keyboard-outline' },
{ value: 'hotas', label: 'HOTAS / joystick', icon: 'mdi-controller-classic-outline' },