mirror of
https://github.com/lutris/lutris
synced 2024-11-02 08:20:51 +00:00
Disable winemenubuilder during installer tasks
This commit is contained in:
parent
43eff9ae75
commit
341537ca46
1 changed files with 6 additions and 0 deletions
|
@ -387,6 +387,12 @@ class CommandsMixin:
|
|||
or WINE_DEFAULT_ARCH
|
||||
if task_name == "wineexec" and self.script_env:
|
||||
data["env"] = self.script_env
|
||||
else:
|
||||
data["env"] = {}
|
||||
|
||||
data["env"]["WINEDLLOVERRIDES"] = (
|
||||
"winemenubuilder=d;" + data["env"].get("WINEDLLOVERRIDES", "")
|
||||
).strip(";")
|
||||
|
||||
for key in data:
|
||||
value = data[key]
|
||||
|
|
Loading…
Reference in a new issue