proton: Use $USER instead of "steamuser"

This commit is contained in:
Andrew Eikum
2018-08-20 10:45:08 -05:00
parent d303cae085
commit 935875ceab
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -251,10 +251,10 @@ with prefix_lock:
except: except:
pass 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 #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): if os.path.exists(vrpaths_name):
os.remove(vrpaths_name) os.remove(vrpaths_name)
+1 -1
Submodule wine updated: 0017f5eca9...e8b512a039