Revert "proton: Populate NVIDIA_WINE_DLL_DIR when available"

This reverts commit 16dbf51c57.
This commit is contained in:
Arkadiusz Hiler 2024-11-06 16:27:40 +02:00
parent b8e55a7ef0
commit 7e9c7a09a3

6
proton
View File

@ -1543,12 +1543,6 @@ class Session:
if "PROTON_CRASH_REPORT_DIR" in self.env:
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 self.setup_logging(append_forever=False):
self.log_file.write("======================\n")