mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-04-01 15:19:16 +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
|
s = s + ";" + dll + "=" + setting
|
||||||
else:
|
else:
|
||||||
s = dll + "=" + setting
|
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_UNKNOWN=0
|
||||||
ARCH_I386=1
|
ARCH_I386=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user