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
1 changed files with 4 additions and 1 deletions
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 a new issue