From 2cf8d77d9f3ccc2c46609f49677bb97c2e9f6415 Mon Sep 17 00:00:00 2001 From: pchome Date: Sat, 17 Nov 2018 19:55:45 +0200 Subject: [PATCH] Possible fix for a rare winetricks fail (#50) * 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 #19, or otherwise there should be one more check for a prefix existence. * Fix: Used full path to Proton's wineserver --- protonfixes/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/protonfixes/util.py b/protonfixes/util.py index ad061c77..bf79bd55 100644 --- a/protonfixes/util.py +++ b/protonfixes/util.py @@ -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()