mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-10 00:18:09 +01:00
proton: Always enable Wine esync
This commit is contained in:
parent
3a8aeade44
commit
2da8976160
2 changed files with 5 additions and 0 deletions
4
proton
4
proton
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue