Skip to content

Commit

Permalink
[Fix-macOS] WINEPREFIX ignored when using GPTK (#3277)
Browse files Browse the repository at this point in the history
* Dirty fix of bug #3026

* Adding some break statements to make lint happy
  • Loading branch information
SB2DD authored Nov 30, 2023
1 parent d93bef2 commit f0cd114
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/backend/launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,10 @@ function setupWineEnvVars(
break
case 'crossover':
ret.CX_BOTTLE = wineCrossoverBottle
break
case 'toolkit':
ret.WINEPREFIX = winePrefix
break
}
if (gameSettings.showFps) {
isMac ? (ret.MTL_HUD_ENABLED = '1') : (ret.DXVK_HUD = 'fps')
Expand Down

0 comments on commit f0cd114

Please sign in to comment.