From 3193b4c541cc74fea6eae58184b571dda93012a6 Mon Sep 17 00:00:00 2001 From: Etaash Mathamsetty <45927311+Etaash-mathamsetty@users.noreply.github.com> Date: Sat, 6 Jan 2024 18:42:28 -0500 Subject: [PATCH] [FIX] Using crossover with gog and amazon (#3308) * [FIX] Using crossover with gog and amazon * Update compatibility_layers.ts --- src/backend/utils/compatibility_layers.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/backend/utils/compatibility_layers.ts b/src/backend/utils/compatibility_layers.ts index 636c60f28d..9ec2651403 100644 --- a/src/backend/utils/compatibility_layers.ts +++ b/src/backend/utils/compatibility_layers.ts @@ -442,6 +442,12 @@ export function getWineFlags( '--wrapper': NonEmptyString.parse(`${wrapper} '${wineBin}' run`) } break + case 'crossover': + partialCommand = { + '--wine': Path.parse(wineBin) + } + if (wrapper) partialCommand['--wrapper'] = NonEmptyString.parse(wrapper) + break default: break }