mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +03:00
Allow override of dlls with WINEDLLOVERRIDES environment variable
Proton overrides the environment variable WINEDLLOVERRIDES entirely, this change allows to add own dll overrides.
This commit is contained in:
parent
aaaef10ccb
commit
cac3a518bd
5
proton
5
proton
@ -373,7 +373,10 @@ for dll in dlloverrides:
|
||||
s = s + ";" + dll + "=" + setting
|
||||
else:
|
||||
s = dll + "=" + setting
|
||||
env["WINEDLLOVERRIDES"] = s
|
||||
if "WINEDLLOVERRIDES" in os.environ:
|
||||
env["WINEDLLOVERRIDES"] = os.environ["WINEDLLOVERRIDES"] + ";" + s
|
||||
else:
|
||||
env["WINEDLLOVERRIDES"] = s
|
||||
|
||||
ARCH_UNKNOWN=0
|
||||
ARCH_I386=1
|
||||
|
Loading…
Reference in New Issue
Block a user