Skip to content

Commit 7401025

Browse files
authored
[Chore] Use waitforexitandrun instead of run command for Proton (#3680)
Co-authored-by: Flavio F Lima <[email protected]>
1 parent 7e320ac commit 7401025

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/backend/utils/compatibility_layers.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,9 @@ export function getWineFlags(
440440
case 'proton':
441441
partialCommand = {
442442
'--no-wine': true,
443-
'--wrapper': NonEmptyString.parse(`${wrapper} '${wineBin}' run`)
443+
'--wrapper': NonEmptyString.parse(
444+
`${wrapper} '${wineBin}' waitforexitandrun`
445+
)
444446
}
445447
break
446448
case 'crossover':

0 commit comments

Comments
 (0)