mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Fixes failure to start a game
if Steam is not installed and Proton-GE is used
This commit is contained in:
parent
f43ba06dd4
commit
4600390afc
|
@ -921,7 +921,8 @@ class wine(Runner):
|
|||
|
||||
# Proton support
|
||||
if "Proton" in self.get_version():
|
||||
env["STEAM_COMPAT_CLIENT_INSTALL_PATH"] = get_steam_dir()
|
||||
if get_steam_dir() is not None: # May be None for example if Proton-GE is used but Steam is not installed
|
||||
env["STEAM_COMPAT_CLIENT_INSTALL_PATH"] = get_steam_dir()
|
||||
env["STEAM_COMPAT_DATA_PATH"] = self.prefix_path
|
||||
env["STEAM_COMPAT_APP_ID"] = '0'
|
||||
env["SteamAppId"] = '0'
|
||||
|
|
Loading…
Reference in a new issue