proton: Use $USER instead of "steamuser"

This commit is contained in:
Andrew Eikum 2018-08-16 16:10:06 -05:00
parent d303cae085
commit 935875ceab
2 changed files with 3 additions and 3 deletions

4
proton
View File

@ -251,10 +251,10 @@ with prefix_lock:
except:
pass
makedirs(prefix + "/drive_c/users/steamuser/Local Settings/Application Data/openvr")
makedirs(prefix + "/drive_c/users/" + os.environ["USER"] + "/Local Settings/Application Data/openvr")
#remove existing file
vrpaths_name = prefix + "/drive_c/users/steamuser/Local Settings/Application Data/openvr/openvrpaths.vrpath"
vrpaths_name = prefix + "/drive_c/users/" + os.environ["USER"] + "/Local Settings/Application Data/openvr/openvrpaths.vrpath"
if os.path.exists(vrpaths_name):
os.remove(vrpaths_name)

2
wine

@ -1 +1 @@
Subproject commit 0017f5eca920cb4e7fc0a6efe72d35b3386a72c3
Subproject commit e8b512a03970dab49d53e5b95ee9f9d3218a2d65