mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +01:00
proton: Use $USER instead of "steamuser"
This commit is contained in:
parent
d303cae085
commit
935875ceab
2 changed files with 3 additions and 3 deletions
4
proton
4
proton
|
|
@ -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
2
wine
|
|
@ -1 +1 @@
|
|||
Subproject commit 0017f5eca920cb4e7fc0a6efe72d35b3386a72c3
|
||||
Subproject commit e8b512a03970dab49d53e5b95ee9f9d3218a2d65
|
||||
Loading…
Add table
Add a link
Reference in a new issue