diff options
Diffstat (limited to 'apworld')
| -rw-r--r-- | apworld/__init__.py | 5 | ||||
| -rw-r--r-- | apworld/logo.png | bin | 0 -> 9429 bytes |
2 files changed, 3 insertions, 2 deletions
| diff --git a/apworld/__init__.py b/apworld/__init__.py index 8da6d1f..1af31c0 100644 --- a/apworld/__init__.py +++ b/apworld/__init__.py | |||
| @@ -12,7 +12,7 @@ from .player_logic import Lingo2PlayerLogic | |||
| 12 | from .regions import create_regions, shuffle_entrances, connect_ports_from_ut | 12 | from .regions import create_regions, shuffle_entrances, connect_ports_from_ut |
| 13 | from .static_logic import Lingo2StaticLogic | 13 | from .static_logic import Lingo2StaticLogic |
| 14 | from .version import APWORLD_VERSION | 14 | from .version import APWORLD_VERSION |
| 15 | from ..LauncherComponents import Component, Type, components, launch as launch_component | 15 | from ..LauncherComponents import Component, Type, components, launch as launch_component, icon_paths |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | class Lingo2WebWorld(WebWorld): | 18 | class Lingo2WebWorld(WebWorld): |
| @@ -163,6 +163,7 @@ def launch_client(*args): | |||
| 163 | launch_component(client_main, name="Lingo2Client", args=args) | 163 | launch_component(client_main, name="Lingo2Client", args=args) |
| 164 | 164 | ||
| 165 | 165 | ||
| 166 | icon_paths["lingo2_ico"] = f"ap:{__name__}/logo.png" | ||
| 166 | component = Component("Lingo 2 Client", component_type=Type.CLIENT, func=launch_client, | 167 | component = Component("Lingo 2 Client", component_type=Type.CLIENT, func=launch_client, |
| 167 | description="Open Lingo 2.", supports_uri=True, game_name="Lingo 2") | 168 | description="Open Lingo 2.", supports_uri=True, game_name="Lingo 2", icon="lingo2_ico") |
| 168 | components.append(component) | 169 | components.append(component) |
| diff --git a/apworld/logo.png b/apworld/logo.png new file mode 100644 index 0000000..b9d00ba --- /dev/null +++ b/apworld/logo.png | |||
| Binary files differ | |||
