mirror of
https://github.com/suyu-emu/Yucom.git
synced 2026-09-21 13:22:43 -07:00
proton: Don't crash on invalid VR config file
This commit is contained in:
@@ -340,8 +340,8 @@ with prefix_lock:
|
|||||||
|
|
||||||
if vr_log is None:
|
if vr_log is None:
|
||||||
vr_log = j["log"][0]
|
vr_log = j["log"][0]
|
||||||
except (ValueError, OSError):
|
except (TypeError, ValueError, OSError):
|
||||||
pass
|
log("Missing or invalid openvrpaths.vrpath file! " + str(sys.exc_info()[1]))
|
||||||
|
|
||||||
makedirs(prefix + "/drive_c/users/steamuser/Local Settings/Application Data/openvr")
|
makedirs(prefix + "/drive_c/users/steamuser/Local Settings/Application Data/openvr")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user