From 0ddd3ff3d2e172d84a15304bc98cc7ee0354a4b6 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Thu, 8 Mar 2018 10:50:26 -0600 Subject: [PATCH] proton: Don't hard-code legacycompat path --- proton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proton b/proton index e2e9da86..139c70c1 100755 --- a/proton +++ b/proton @@ -123,7 +123,7 @@ with open(version_file, "w") as f: f.write(CURRENT_PREFIX_VERSION + "\n") #copy steam files into place -steamdir = env["HOME"] + "/.steam/root/legacycompat/" +steamdir = os.path.dirname(env["STEAM_CLIENT_CONFIG_FILE"]) + "/legacycompat/" dst = prefix + "/drive_c/Program Files (x86)/" makedirs(dst + "Steam") filestocopy = ["steamclient.dll",