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

@@ -9,12 +9,12 @@ from .Options import KH1Options, kh1_option_groups
from .Regions import connect_entrances, create_regions
from .Rules import set_rules
from .Presets import kh1_option_presets
from worlds.LauncherComponents import Component, components, Type, launch_subprocess
from worlds.LauncherComponents import Component, components, Type, launch as launch_component
def launch_client():
from .Client import launch
launch_subprocess(launch, name="KH1 Client")
launch_component(launch, name="KH1 Client")
components.append(Component("KH1 Client", "KH1Client", func=launch_client, component_type=Type.CLIENT))