mirror of
https://github.com/lutris/lutris
synced 2024-10-04 14:59:37 +00:00
This is not legacy, I have no plans to deprecate it
This commit is contained in:
parent
61bdf56f50
commit
466f5bd725
|
@ -135,7 +135,7 @@ class ScriptInterpreter(CommandsMixin):
|
||||||
def _get_installed_dependency(self, dependency):
|
def _get_installed_dependency(self, dependency):
|
||||||
"""Return whether a dependency is installed"""
|
"""Return whether a dependency is installed"""
|
||||||
game = pga.get_game_by_field(dependency, field='installer_slug')
|
game = pga.get_game_by_field(dependency, field='installer_slug')
|
||||||
# Legacy support of installers using game slug as requirement
|
|
||||||
if not game:
|
if not game:
|
||||||
game = pga.get_game_by_field(dependency, 'slug')
|
game = pga.get_game_by_field(dependency, 'slug')
|
||||||
if bool(game) and bool(game['directory']):
|
if bool(game) and bool(game['directory']):
|
||||||
|
|
Loading…
Reference in a new issue