From 657105b1eb767bbeb9029b1d3785216f60a2cd22 Mon Sep 17 00:00:00 2001 From: Renaud Lepage Date: Tue, 18 May 2021 06:45:37 -0700 Subject: [PATCH] proton: Assume STEAM_COMPAT_CLIENT_INSTALL_PATH is always set --- proton | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/proton b/proton index 945de1d8..2c05effa 100755 --- a/proton +++ b/proton @@ -445,12 +445,7 @@ class CompatData: os.symlink("/", self.prefix_dir + "/dosdevices/z:") # collect configuration info - if "STEAM_COMPAT_CLIENT_INSTALL_PATH" in os.environ: - #modern steam client sets this - steamdir = os.environ["STEAM_COMPAT_CLIENT_INSTALL_PATH"] - else: - #linux-only fallback, really shouldn't get here - steamdir = os.environ["HOME"] + ".steam/root/" + steamdir = os.environ["STEAM_COMPAT_CLIENT_INSTALL_PATH"] use_wined3d = "wined3d" in g_session.compat_config use_dxvk_dxgi = "WINEDLLOVERRIDES" in g_session.env and "dxgi=n" in g_session.env["WINEDLLOVERRIDES"]