Skip to content

Commit

Permalink
Don't enable Steam Runtime when switching to wine-ge-proton
Browse files Browse the repository at this point in the history
`wine-ge-proton` contains `proton` in its name, which caused Bottles to enable the Steam Runtime.
  • Loading branch information
SuperSamus authored Jan 20, 2023
1 parent 41d1f3c commit 08a41aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bottles/backend/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def runner_update(config: BottleConfig, manager: 'Manager', runner: str) -> Resu
the host system. There are some exceptions, like the Soda and Wine-GE runners,
which are built to work without the Steam Runtime.
"""
if "proton" in runner.lower() and RuntimeManager.get_runtimes("steam"):
if "proton" in runner.lower() and not runner.startswith("wine-ge-proton") and RuntimeManager.get_runtimes("steam"):
manager.update_config(config, "use_steam_runtime", True, "Parameters")

return Result(
Expand Down

0 comments on commit 08a41aa

Please sign in to comment.