Skip to content

Commit

Permalink
[FIX] Using crossover with gog and amazon (#3308)
Browse files Browse the repository at this point in the history
* [FIX] Using crossover with gog and amazon

* Update compatibility_layers.ts
  • Loading branch information
Etaash-mathamsetty authored Jan 6, 2024
1 parent 68c84f2 commit 3193b4c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/backend/utils/compatibility_layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3193b4c

Please sign in to comment.