mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 23:25:50 +03:00
proton: Use $USER instead of "steamuser"
This commit is contained in:
parent
d303cae085
commit
935875ceab
4
proton
4
proton
@ -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)
|
||||||
|
|
||||||
|
2
wine
2
wine
@ -1 +1 @@
|
|||||||
Subproject commit 0017f5eca920cb4e7fc0a6efe72d35b3386a72c3
|
Subproject commit e8b512a03970dab49d53e5b95ee9f9d3218a2d65
|
Loading…
Reference in New Issue
Block a user