mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 23:25:50 +03:00
Revert "proton: Populate NVIDIA_WINE_DLL_DIR when available"
This reverts commit 16dbf51c57
.
This commit is contained in:
parent
b8e55a7ef0
commit
7e9c7a09a3
6
proton
6
proton
@ -1543,12 +1543,6 @@ class Session:
|
|||||||
if "PROTON_CRASH_REPORT_DIR" in self.env:
|
if "PROTON_CRASH_REPORT_DIR" in self.env:
|
||||||
self.env["WINE_CRASH_REPORT_DIR"] = self.env["PROTON_CRASH_REPORT_DIR"]
|
self.env["WINE_CRASH_REPORT_DIR"] = self.env["PROTON_CRASH_REPORT_DIR"]
|
||||||
|
|
||||||
# NVIDIA software may check NVIDIA_WINE_DLL_DIR as a search-path for
|
|
||||||
# driver-provided DLLs for use by Proton/Wine.
|
|
||||||
nvidia_wine_dll_dir = find_nvidia_wine_dll_dir()
|
|
||||||
if nvidia_wine_dll_dir:
|
|
||||||
self.env["NVIDIA_WINE_DLL_DIR"] = nvidia_wine_dll_dir
|
|
||||||
|
|
||||||
if "PROTON_LOG" in self.env and nonzero(self.env["PROTON_LOG"]):
|
if "PROTON_LOG" in self.env and nonzero(self.env["PROTON_LOG"]):
|
||||||
if self.setup_logging(append_forever=False):
|
if self.setup_logging(append_forever=False):
|
||||||
self.log_file.write("======================\n")
|
self.log_file.write("======================\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user