mirror of
https://github.com/lutris/lutris
synced 2024-09-05 23:46:21 +00:00
Also use that new method to install dependency games.
This commit is contained in:
parent
4391e98114
commit
8e0568ee29
|
@ -16,7 +16,7 @@ from lutris.gui.installer.script_picker import InstallerPicker
|
|||
from lutris.gui.widgets.common import FileChooserEntry
|
||||
from lutris.gui.widgets.log_text_view import LogTextView
|
||||
from lutris.gui.widgets.navigation_stack import NavigationStack
|
||||
from lutris.installer import InstallationKind, get_installers, interpreter
|
||||
from lutris.installer import InstallationKind, interpreter
|
||||
from lutris.installer.errors import MissingGameDependencyError, ScriptingError
|
||||
from lutris.installer.interpreter import ScriptInterpreter
|
||||
from lutris.util import xdgshortcuts
|
||||
|
@ -363,9 +363,8 @@ class InstallerWindow(ModelessDialog,
|
|||
}
|
||||
)
|
||||
if dlg.result == Gtk.ResponseType.YES:
|
||||
installers = get_installers(game_slug=ex.slug)
|
||||
application = Gio.Application.get_default()
|
||||
application.show_installer_window(installers)
|
||||
application.show_lutris_installer_window(game_slug=ex.slug)
|
||||
return
|
||||
|
||||
self.set_title(_("Installing {}").format(self.interpreter.installer.game_name))
|
||||
|
|
Loading…
Reference in a new issue