mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-02-04 01:30:36 +03:00
proton: Assume STEAM_COMPAT_CLIENT_INSTALL_PATH is always set
This commit is contained in:
parent
57dc9d7062
commit
139ad89ed3
7
proton
7
proton
@ -433,12 +433,7 @@ class CompatData:
|
|||||||
self.copy_pfx()
|
self.copy_pfx()
|
||||||
|
|
||||||
# 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