mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-07-21 12:46:23 +03:00
proton: Don't hard-code legacycompat path
This commit is contained in:
parent
4c05f2aeec
commit
0ddd3ff3d2
2
proton
2
proton
@ -123,7 +123,7 @@ with open(version_file, "w") as f:
|
|||||||
f.write(CURRENT_PREFIX_VERSION + "\n")
|
f.write(CURRENT_PREFIX_VERSION + "\n")
|
||||||
|
|
||||||
#copy steam files into place
|
#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)/"
|
dst = prefix + "/drive_c/Program Files (x86)/"
|
||||||
makedirs(dst + "Steam")
|
makedirs(dst + "Steam")
|
||||||
filestocopy = ["steamclient.dll",
|
filestocopy = ["steamclient.dll",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user