Launcher: Allow for --nogui client launches (#4549)

This commit is contained in:
qwint
2025-02-10 13:34:27 -05:00
committed by GitHub
parent 910369a7f8
commit f520c1d9f2
6 changed files with 11 additions and 11 deletions

View File

@@ -7,7 +7,7 @@ from __future__ import annotations
import abc
from typing import TYPE_CHECKING, Any, ClassVar
from worlds.LauncherComponents import Component, SuffixIdentifier, Type, components, launch_subprocess
from worlds.LauncherComponents import Component, SuffixIdentifier, Type, components, launch as launch_component
if TYPE_CHECKING:
from .context import BizHawkClientContext
@@ -15,7 +15,7 @@ if TYPE_CHECKING:
def launch_client(*args) -> None:
from .context import launch
launch_subprocess(launch, name="BizHawkClient", args=args)
launch_component(launch, name="BizHawkClient", args=args)
component = Component("BizHawk Client", "BizHawkClient", component_type=Type.CLIENT, func=launch_client,