add auto get bias addr ,not need input key or wx folder path.

This commit is contained in:
xaoyo committed 2023-10-24 18:33:30 +08:00
1 parent 29584ab35a
commit 6ddf86fd99
3 files changed
+6 -3

No files matched your search

+2 -2
View File
@@ -8,9 +8,9 @@
import os
import re
import winreg
from typing import List, Union
def get_wechat_db(require_list: [list | str] = "all", msg_dir: str = None):
def get_wechat_db(require_list: Union[List[str], str] = "all", msg_dir: str = None):
if not msg_dir:
try:
key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, r"Software\Tencent\WeChat", 0, winreg.KEY_READ)