feat: uninstall wizard WIP

This commit is contained in:
aclist authored and GitHub committed 2026-08-20 14:08:29 +09:00
1 parent 63c2b5acd4
commit 93d870b5bf
5 files changed
+293 -19

No files matched your search

+7
View File
@@ -160,6 +160,13 @@ class Shortcuts:
NEW_ENTRY["tags"] = {}
return NEW_ENTRY
def delete_shortcut(self, start_path: Path) -> None:
for s in self.shortcuts["shortcuts"]:
if self.shortcuts[s]["StartDir"] == str(start_path):
del self.shortcuts[s]
break
self.save_shortcuts()
def save_shortcuts(self) -> None:
try:
backup = self.shortcuts_path.with_suffix(".vdf.bak")