Skip to content

Commit

Permalink
[Fix] Show Crossover bottle in installed info details (#4194)
Browse files Browse the repository at this point in the history
Fix showing crossover bottle in installed info details
  • Loading branch information
arielj authored Jan 2, 2025
1 parent 20768ea commit 85b8954
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ const InstalledInfo = ({ gameInfo }: Props) => {
wine = wine.split('-')[0]
}
wineName = wine
wineType =
wineVersion.type === 'crossover' ? wineCrossoverBottle : winePrefix
wineType = wineVersion.type
}

const info = (
Expand Down Expand Up @@ -111,10 +110,10 @@ const InstalledInfo = ({ gameInfo }: Props) => {
<div>
<b>Wine:</b> {wineName}
</div>
{wineVersion && wineType === 'crossover' ? (
{wineType === 'crossover' ? (
<div>
<b>{t2('setting.winecrossoverbottle', 'Bottle')}:</b>{' '}
<div className="truncatedPath">{winePrefix}</div>
<div>{wineCrossoverBottle}</div>
</div>
) : (
<div
Expand Down

0 comments on commit 85b8954

Please sign in to comment.