Skip to content

Commit

Permalink
Possible fix for a rare winetricks fail (simons-public#50)
Browse files Browse the repository at this point in the history
* Possible fix for a rare winetricks fail

Sometimes `winetricks` performs a strange things, so
very likely it should wait for `wineserver` to quit.

Not sure, but it can also help simons-public#19, or otherwise there
should be one more check for a prefix existence.

* Fix: Used full path to Proton's wineserver
  • Loading branch information
pchome authored and simons-public committed Nov 17, 2018
1 parent d0defb3 commit 2cf8d77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions protonfixes/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def protontricks(verb):
log.debug(str(sys.argv))

log.info('Using winetricks verb ' + verb)
subprocess.call([env['WINESERVER'], '-w'], env=env)
process = subprocess.Popen(winetricks_cmd, env=env)
process.wait()
_killhanging()
Expand Down

0 comments on commit 2cf8d77

Please sign in to comment.