(self)
| 1765 | return ensure_config_defaults({"data_dir": data_dirs, "users": user_config}) |
| 1766 | |
| 1767 | def smart_detect_wechat_path(self): |
| 1768 | config = self.create_config_from_paths(find_all_wechat_paths()) |
| 1769 | if not config: |
| 1770 | return False |
| 1771 | save_json(CONFIG_PATH, config) |
| 1772 | self.config_exists = True |
| 1773 | self.setSuccessinfo("已自动检测到微信数据目录,可以开始清理。") |
| 1774 | return True |
| 1775 | |
| 1776 | def check_auto_clean_after_start(self): |
| 1777 | try: |
no test coverage detected