mirror of
https://github.com/suyu-emu/Yucom.git
synced 2026-09-21 13:22:43 -07:00
proton: Use $USER instead of "steamuser"
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user