From 629c974b9daa28bdbae40a649c698b237f52c7b7 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Thu, 20 Aug 2026 14:50:43 +0900 Subject: [PATCH 1/3] fix: add line break --- dzgui/strings/uninstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dzgui/strings/uninstall.py b/dzgui/strings/uninstall.py index a609899..1a725ca 100644 --- a/dzgui/strings/uninstall.py +++ b/dzgui/strings/uninstall.py @@ -29,7 +29,7 @@ steam_details = "Shortcut to DZGUI installed within Steam, if applicable. Requir path_remove_prefix = "The following path will be removed:" not_installed = "It looks like DZGUI was not previously set up; nothing to uninstall." standalone_uninstall = ( - "It looks like you are running the standalone version of DZGUI. " + "It looks like you are running the standalone version of DZGUI.\n" "To finalize the uninstall process, you can remove the 'dzgui' file." ) system_uninstall = ( From 1b6ebac3a3951f0e27e9d87ee69d06f950573bb1 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Thu, 20 Aug 2026 14:50:58 +0900 Subject: [PATCH 2/3] fix: suppress stdout --- dzgui/views/dialogs/uninstall.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dzgui/views/dialogs/uninstall.py b/dzgui/views/dialogs/uninstall.py index 1e50129..f3cb5a5 100644 --- a/dzgui/views/dialogs/uninstall.py +++ b/dzgui/views/dialogs/uninstall.py @@ -208,8 +208,7 @@ class UninstallPage(ScrolledWizardPage): def wipe_pyapp(self) -> None: if self.pyapp is None: return - res = subprocess.run([self.pyapp, "self", "remove"]) - print(res) + subprocess.run([self.pyapp, "self", "remove"]) def uninstall(self) -> None: for box in self.boxes: @@ -224,7 +223,6 @@ class UninstallWizard(Gtk.Application): def __init__(self, is_deck: bool, paths: dict[str, str]) -> None: super().__init__() config = Path(paths["XDG_CONFIG_HOME"]) - # TODO: tests if not config.is_dir() or not config.joinpath("config.json").is_file(): print(uninstall.not_installed) return From b6d3f8d38564af06e36093298e991d878759ae49 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Thu, 20 Aug 2026 14:58:53 +0900 Subject: [PATCH 3/3] fix: properly wipe share path --- dzgui/views/dialogs/uninstall.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dzgui/views/dialogs/uninstall.py b/dzgui/views/dialogs/uninstall.py index f3cb5a5..9098692 100644 --- a/dzgui/views/dialogs/uninstall.py +++ b/dzgui/views/dialogs/uninstall.py @@ -149,9 +149,6 @@ class UninstallPage(ScrolledWizardPage): self.start_menu_box = CheckboxWithPath( uninstall.start_menu_label, uninstall.start_menu_details, shortcut ) - self.share_box = CheckboxWithPath( - uninstall.desktop_label, uninstall.desktop_details, desktop - ) self.state_box = CheckboxWithPath( uninstall.state_label, uninstall.state_details, state ) @@ -202,6 +199,7 @@ class UninstallPage(ScrolledWizardPage): try: shortcuts = Shortcuts(self.steam_path) shortcuts.delete_shortcut(self.share) + shutil.rmtree(self.share) except Exception as e: print(format_exception(e))