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:
|
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
Reference in New Issue
Block a user