proton: Always enable Wine esync

This commit is contained in:
Andrew Eikum 2018-06-18 09:02:55 -05:00
parent 3a8aeade44
commit 2da8976160
2 changed files with 5 additions and 0 deletions

4
proton
View file

@ -65,6 +65,7 @@ else:
check_environment("PROTON_USE_WINED3D11", "wined3d11")
check_environment("PROTON_NO_D3D11", "nod3d11")
check_environment("PROTON_NO_ESYNC", "noesync")
basedir = os.path.dirname(sys.argv[0])
bindir = basedir + "/dist/bin/"
@ -110,6 +111,9 @@ else:
env["WINEDLLPATH"] = lib64dir + "/wine:" + libdir + "/wine"
if not "noesync" in config_opts:
env["WINEESYNC"] = "1"
if "PATH" in os.environ:
env["PATH"] = bindir + ":" + os.environ["PATH"]
else: