KH1: Remove top level script & remove script_name from its component (#5443)
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
if __name__ == '__main__':
|
||||
import ModuleUpdate
|
||||
ModuleUpdate.update()
|
||||
|
||||
import Utils
|
||||
Utils.init_logging("KH1Client", exception_logger="Client")
|
||||
|
||||
from worlds.kh1.Client import launch
|
||||
launch()
|
||||
@@ -21,7 +21,7 @@ def launch_client():
|
||||
launch_component(launch, name="KH1 Client")
|
||||
|
||||
|
||||
components.append(Component("KH1 Client", "KH1Client", func=launch_client, component_type=Type.CLIENT, icon="kh1_heart"))
|
||||
components.append(Component("KH1 Client", func=launch_client, component_type=Type.CLIENT, icon="kh1_heart"))
|
||||
|
||||
icon_paths["kh1_heart"] = f"ap:{__name__}/icons/kh1_heart.png"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user