Skip to content

Commit

Permalink
fix #1099
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Feb 28, 2022
1 parent 5ba2680 commit 4c25b31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/backend/wine/winecommand.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,10 @@ def __get_runner(self) -> str:
If the runner is Proton, set the pat to /dist or /files
based on check if files exists.
'''
runner = f"{runner}/files"
_runner = f"{runner}/files"
if os.path.exists(f"{Paths.runners}/{runner}/dist"):
runner = f"{runner}/dist"
_runner = f"{runner}/dist"
runner = _runner

if runner.startswith("sys-"):
'''
Expand Down

0 comments on commit 4c25b31

Please sign in to comment.