diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-28 11:03:19 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-28 11:03:19 -0400 |
commit | 7cfe6f05d2564294a959690b586077686797d7c7 (patch) | |
tree | 39e96ee79005c20e65912fe9f86f71a65ff31777 | |
parent | 53e0509fcb20cc824e3fe5b3d3a826f09fc9c166 (diff) | |
download | lingo2-archipelago-7cfe6f05d2564294a959690b586077686797d7c7.tar.gz lingo2-archipelago-7cfe6f05d2564294a959690b586077686797d7c7.tar.bz2 lingo2-archipelago-7cfe6f05d2564294a959690b586077686797d7c7.zip |
Added icon for launcher
-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 | |||