update readme.md

This commit is contained in:
shuaikangzhou 2023-12-01 00:22:59 +08:00
parent fa0f54b4e3
commit 8dd80d7a6c
3 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
version = '0.2.4'
version = '0.2.5'
contact = '474379264'
description = [
'1. 支持获取个人信息<br>',

View File

@ -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:

View File

@ -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. 获取到密钥和微信路径之后点击开始解密