Skip to content

Commit 1c41df3

Browse files
authored
Merge pull request #100 from ManualForArchipelago/client-version
Bump client version number and actually fix make_gui
2 parents 4daf5c0 + 4802016 commit 1c41df3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/ManualClient.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,11 @@ def run_gui(self):
226226
self.ui_task = asyncio.create_task(self.ui.async_run(), name="UI")
227227

228228
def make_gui(self) -> typing.Type["kvui.GameManager"]:
229-
ui = super().make_gui() # before the kivy imports so kvui gets loaded first
229+
if hasattr(SuperContext, "make_gui"):
230+
ui = super().make_gui() # before the kivy imports so kvui gets loaded first
231+
else:
232+
from kvui import GameManager
233+
ui = GameManager
230234

231235
from kivy.metrics import dp
232236
from kivy.uix.button import Button

src/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def __init__(self, display_name: str, script_name: Optional[str] = None, func: O
446446
self.version = version
447447

448448
def add_client_to_launcher() -> None:
449-
version = 2024_09_29 # YYYYMMDD
449+
version = 2024_11_03 # YYYYMMDD
450450
found = False
451451

452452
if "manual" not in icon_paths:

0 commit comments

Comments
 (0)