From 139ad89ed36a47cab790786b8725e782e1e39911 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 e43722be..142f683a 100755 --- a/proton +++ b/proton @@ -433,12 +433,7 @@ class CompatData: self.copy_pfx() # 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"]