mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-07-30 17:11:38 +03:00
proton: Assume STEAM_COMPAT_CLIENT_INSTALL_PATH is always set
This commit is contained in:
parent
29f66cc1fd
commit
657105b1eb
7
proton
7
proton
@ -445,12 +445,7 @@ class CompatData:
|
|||||||
os.symlink("/", self.prefix_dir + "/dosdevices/z:")
|
os.symlink("/", self.prefix_dir + "/dosdevices/z:")
|
||||||
|
|
||||||
# collect configuration info
|
# collect configuration info
|
||||||
if "STEAM_COMPAT_CLIENT_INSTALL_PATH" in os.environ:
|
steamdir = os.environ["STEAM_COMPAT_CLIENT_INSTALL_PATH"]
|
||||||
#modern steam client sets this
|
|
||||||
steamdir = os.environ["STEAM_COMPAT_CLIENT_INSTALL_PATH"]
|
|
||||||
else:
|
|
||||||
#linux-only fallback, really shouldn't get here
|
|
||||||
steamdir = os.environ["HOME"] + ".steam/root/"
|
|
||||||
|
|
||||||
use_wined3d = "wined3d" in g_session.compat_config
|
use_wined3d = "wined3d" in g_session.compat_config
|
||||||
use_dxvk_dxgi = "WINEDLLOVERRIDES" in g_session.env and "dxgi=n" in g_session.env["WINEDLLOVERRIDES"]
|
use_dxvk_dxgi = "WINEDLLOVERRIDES" in g_session.env and "dxgi=n" in g_session.env["WINEDLLOVERRIDES"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user