mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +03:00
default_pfx: Set DLL search path.
This commit is contained in:
parent
2781aa3d1c
commit
53eee3161e
@ -121,10 +121,12 @@ def make_default_pfx(default_pfx_dir, dist_dir):
|
|||||||
local_env = dict(os.environ)
|
local_env = dict(os.environ)
|
||||||
|
|
||||||
ld_path = dist_dir + "/lib64:" + dist_dir + "/lib"
|
ld_path = dist_dir + "/lib64:" + dist_dir + "/lib"
|
||||||
|
dll_path = dist_dir + "/lib64/vkd3d:" + dist_dir + "/lib/vkd3d"
|
||||||
|
|
||||||
local_env["LD_LIBRARY_PATH"] = ld_path
|
local_env["LD_LIBRARY_PATH"] = ld_path
|
||||||
local_env["WINEPREFIX"] = default_pfx_dir
|
local_env["WINEPREFIX"] = default_pfx_dir
|
||||||
local_env["WINEDEBUG"] = "-all"
|
local_env["WINEDEBUG"] = "-all"
|
||||||
|
local_env["WINEDLLPATH"] = dll_path
|
||||||
runtime_args = []
|
runtime_args = []
|
||||||
|
|
||||||
subprocess.run(runtime_args + ["/bin/bash", "-c",
|
subprocess.run(runtime_args + ["/bin/bash", "-c",
|
||||||
|
Loading…
Reference in New Issue
Block a user