proton: Use root symlink instead of steam

Apparently Ubuntu mucks with Steam's internal file structure and screws
up the steam symlink. The root one isn't messed with, so we can use that
instead.
This commit is contained in:
Andrew Eikum 2018-02-15 07:32:44 -06:00
parent 8b8295cd67
commit 4a03a68b79

2
proton
View file

@ -98,7 +98,7 @@ if not os.path.isdir(prefix):
shutil.copytree(basedir + "/dist/share/default_pfx", prefix, symlinks=True) shutil.copytree(basedir + "/dist/share/default_pfx", prefix, symlinks=True)
#copy steam files into place #copy steam files into place
steamdir = env["HOME"] + "/.steam/steam/legacycompat/" steamdir = env["HOME"] + "/.steam/root/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",