mirror of
https://github.com/lutris/lutris
synced 2024-11-05 18:10:49 +00:00
Disable winemenubuilder globally for the wine runner (Closes #2466)
This commit is contained in:
parent
c320265d08
commit
8f31fb0150
1 changed files with 7 additions and 7 deletions
|
@ -126,7 +126,9 @@ class wine(Runner):
|
|||
|
||||
def __init__(self, config=None):
|
||||
super(wine, self).__init__(config)
|
||||
self.dll_overrides = {}
|
||||
self.dll_overrides = {
|
||||
"winemenubuilder.exe": "d"
|
||||
}
|
||||
|
||||
def get_wine_version_choices():
|
||||
version_choices = [("Custom (select executable below)", "custom")]
|
||||
|
@ -806,13 +808,11 @@ class wine(Runner):
|
|||
overrides = self.runner_config["overrides"]
|
||||
except KeyError:
|
||||
overrides = {}
|
||||
else:
|
||||
if not isinstance(overrides, dict):
|
||||
logger.warning("DLL overrides is not a mapping: %s", overrides)
|
||||
overrides = {}
|
||||
else:
|
||||
overrides = overrides.copy()
|
||||
if not isinstance(overrides, dict):
|
||||
logger.warning("DLL overrides is not a mapping: %s", overrides)
|
||||
overrides = {}
|
||||
|
||||
overrides = overrides.copy()
|
||||
overrides.update(self.dll_overrides)
|
||||
return overrides
|
||||
|
||||
|
|
Loading…
Reference in a new issue