From 8dd80d7a6c8f8d1f5d3e54818b9f869e6d85b245 Mon Sep 17 00:00:00 2001 From: shuaikangzhou <863909694@qq.com> Date: Fri, 1 Dec 2023 00:22:59 +0800 Subject: [PATCH] update readme.md --- app/config.py | 2 +- app/person_pc.py | 4 ++-- readme.md | 9 +++++---- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/config.py b/app/config.py index b771588..03e9d50 100644 --- a/app/config.py +++ b/app/config.py @@ -1,4 +1,4 @@ -version = '0.2.4' +version = '0.2.5' contact = '474379264' description = [ '1. 支持获取个人信息
', diff --git a/app/person_pc.py b/app/person_pc.py index 4263176..de9c682 100644 --- a/app/person_pc.py +++ b/app/person_pc.py @@ -21,7 +21,7 @@ def singleton(cls): class MePC: def __init__(self): self.avatar = QPixmap(Icon.Default_avatar_path) - self.avatar_path = 'D:\Project\Python\WeChatMsg\\app\data\icons\default_avatar.svg' + self.avatar_path = ':/icons/icons/default_avatar.svg' self.wxid = '' self.wx_dir = '' self.name = '' @@ -49,7 +49,7 @@ class ContactPC: self.smallHeadImgUrl = contact_info.get('smallHeadImgUrl') self.smallHeadImgBLOG = b'' self.avatar = QPixmap() - self.avatar_path = 'D:\Project\Python\WeChatMsg\\app\data\icons\default_avatar.svg' + self.avatar_path = ':/icons/icons/default_avatar.svg' def set_avatar(self, img_bytes): if not img_bytes: diff --git a/readme.md b/readme.md index b637231..a2901cc 100644 --- a/readme.md +++ b/readme.md @@ -89,9 +89,10 @@ ### 1. 安装 ```shell +# Python>=3.10 git clone https://github.com/LC044/WeChatMsg cd WeChatMsg -pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple +pip install -r requirements_pc.txt -i https://pypi.tuna.tsinghua.edu.cn/simple ``` ### 2. 使用 @@ -99,16 +100,16 @@ pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple 1. 登录微信 2. 运行程序 ```shell - python decrypt_window.py + python main_pc.py ``` 3. 点击获取信息 ![](./doc/images/pc_decrypt_info.png) -4. 设置微信安装路径 +4. 设置微信安装路径(如果自动设置好了就不用管了) 可以到微信->设置->文件管理查看 ![](./doc/images/setting.png) - 点击**设置微信路径**按钮,选择该文件夹路径下的带有wxid_xxx的路径 + 点击**设置微信路径**按钮,选择该文件夹路径下的带有wxid_xxx的路径(没有wxid的话先选择其中一个文件夹不对的话换其他文件夹) ![](./doc/images/path_select.png) 5. 获取到密钥和微信路径之后点击开始解密