From 17f732fafe6fdbf172ca2b81cb46bdd9aea55eee Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Tue, 19 May 2026 06:05:22 +0900 Subject: [PATCH] feat: continue to main app after config wizard closes --- dzgui/main.py | 5 ++++- dzgui/strings/wizard.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dzgui/main.py b/dzgui/main.py index cec454f..9ca1018 100644 --- a/dzgui/main.py +++ b/dzgui/main.py @@ -112,6 +112,9 @@ def main() -> None: copy_state_files(xdg_paths["XDG_STATE_HOME"]) # TODO: add logging inside wizard SetupWizard(_is_steam_deck, XDG.config) + + # NOTE: implies that setup wizard failed or was closed + if has_new_config(XDG.config) is False: return setup_logger(XDG.debug) @@ -127,7 +130,7 @@ def main() -> None: if has_steam_client() is False: EarlyAlertDialog(init.requires_steam) - # NOTE: clear versions file of unlinked mods + # NOTE: clears versions file of unlinked mods rebuild_symlinks(XDG.config) remove_stale_signatures(XDG.config, XDG.version) diff --git a/dzgui/strings/wizard.py b/dzgui/strings/wizard.py index 56c9053..2298155 100644 --- a/dzgui/strings/wizard.py +++ b/dzgui/strings/wizard.py @@ -67,4 +67,4 @@ label_client = "Steam client" ### Completion page heading_completion = "Setup complete" -blurb_completion = "Configuration completed successfully. Please exit and restart DZGUI to apply changes." +blurb_completion = "Configuration completed successfully. Click 'Close' to close this dialog and launch DZGUI."