fix: update ok label text if no missing mods

This commit is contained in:
aclist committed 2026-05-10 01:26:18 +09:00
1 parent fb5397ae91
commit a1e2876251
3 files changed
+15 -3

No files matched your search

+3 -2
View File
@@ -75,6 +75,7 @@ class Prerequisites:
dayz_running: bool
steam_proc: SteamProcess
mods: list[str]
missing_mods: int
foreground_cmd: str | None
game_mode: bool
@@ -183,6 +184,7 @@ class ConnectionManager:
dayz_running=dayz_running,
steam_proc=steam_proc,
mods=remote_mods,
missing_mods=len(self.missing_mods),
foreground_cmd=self.foreground_cmd, # TODO: change to bool
game_mode=game_mode,
)
@@ -259,7 +261,7 @@ class ConnectionManager:
if is_dayz_running():
break
time.sleep(1)
# TODO: add to history file and list store
# TODO: add self.record to history file and list store
# proxy_model.append_to_history()
func = StoredFunc(self.controller.open_page, NotebookPage.SERVERS)
self.thread_man.set_cleanup_func(func)
@@ -304,4 +306,3 @@ class ConnectionManager:
self._connect_steam()
else:
self._connect_steam()
# TODO: use this only if going back before launching