Disable winemenubuilder during installer tasks

This commit is contained in:
Mathieu Comandon 2021-08-27 20:53:07 -07:00
parent 43eff9ae75
commit 341537ca46

View file

@ -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]