mirror of
https://github.com/aclist/dztui.git
synced 2026-08-29 19:27:13 +02:00
fix: properly wipe share path
This commit is contained in:
parent
1b6ebac3a3
commit
b6d3f8d385
@ -149,9 +149,6 @@ class UninstallPage(ScrolledWizardPage):
|
|||||||
self.start_menu_box = CheckboxWithPath(
|
self.start_menu_box = CheckboxWithPath(
|
||||||
uninstall.start_menu_label, uninstall.start_menu_details, shortcut
|
uninstall.start_menu_label, uninstall.start_menu_details, shortcut
|
||||||
)
|
)
|
||||||
self.share_box = CheckboxWithPath(
|
|
||||||
uninstall.desktop_label, uninstall.desktop_details, desktop
|
|
||||||
)
|
|
||||||
self.state_box = CheckboxWithPath(
|
self.state_box = CheckboxWithPath(
|
||||||
uninstall.state_label, uninstall.state_details, state
|
uninstall.state_label, uninstall.state_details, state
|
||||||
)
|
)
|
||||||
@ -202,6 +199,7 @@ class UninstallPage(ScrolledWizardPage):
|
|||||||
try:
|
try:
|
||||||
shortcuts = Shortcuts(self.steam_path)
|
shortcuts = Shortcuts(self.steam_path)
|
||||||
shortcuts.delete_shortcut(self.share)
|
shortcuts.delete_shortcut(self.share)
|
||||||
|
shutil.rmtree(self.share)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(format_exception(e))
|
print(format_exception(e))
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user