Skip to content

Commit

Permalink
Only turn off ESYNC during compat\evaluatorscript
Browse files Browse the repository at this point in the history
  • Loading branch information
redmcg committed Dec 24, 2018
1 parent d170e1c commit 09f5ea8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions proton
Expand Up @@ -580,10 +580,10 @@ def run():
#probably a batch script or something, hopefully start.exe can handle it
run_wine([wine_path, "start", "/unix"] + sys.argv[2:])
else:
if len(sys.argv) > 2 and "legacycompat/iscriptevaluator.exe" in sys.argv[2]:
del env["WINEESYNC"]
if len(sys.argv) > 3 and "legacycompat\evaluatorscript_" in sys.argv[3]:
vdfworkaround()
if len(sys.argv) > 3 and "legacycompat\evaluatorscript_" in sys.argv[3]:
if "WINEESYNC" in env:
del env["WINEESYNC"]
vdfworkaround()
run_wine([wine_path] + sys.argv[2:])

if sys.version_info[0] == 2:
Expand Down

0 comments on commit 09f5ea8

Please sign in to comment.