Skip to content

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LC044 committed Nov 30, 2023
1 parent fa0f54b commit 8dd80d7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = '0.2.4'
version = '0.2.5'
contact = '474379264'
description = [
'1. 支持获取个人信息<br>',
Expand Down
4 changes: 2 additions & 2 deletions app/person_pc.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def inner():
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 = ''
Expand Down Expand Up @@ -49,7 +49,7 @@ def __init__(self, contact_info: Dict):
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:
Expand Down
9 changes: 5 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,26 +89,27 @@
### 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. 使用

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

0 comments on commit 8dd80d7

Please sign in to comment.