Go to file
Riceneeder 01493bd37a
!21 修复保存的图片没有加.jpg后缀
Merge pull request !21 from silentdoer/master
2023-05-23 01:02:47 +00:00
.workflow github加速 2023-04-04 09:03:05 +00:00
config wewechat++ init 2022-09-01 20:38:13 +08:00
resource wewechat++ init 2022-09-01 20:38:13 +08:00
screenshots wewechat++ init 2022-09-01 20:38:13 +08:00
scripts wewechat++ init 2022-09-01 20:38:13 +08:00
src fix 2022-11-19 03:41:45 +08:00
.babelrc wewechat++ init 2022-09-01 20:38:13 +08:00
.ctrlpignore wewechat++ init 2022-09-01 20:38:13 +08:00
.editorconfig wewechat++ init 2022-09-01 20:38:13 +08:00
.eslintignore wewechat++ init 2022-09-01 20:38:13 +08:00
.eslintrc.json wewechat++ init 2022-09-01 20:38:13 +08:00
.gitattributes wewechat++ init 2022-09-01 20:38:13 +08:00
.gitignore upgrade .gitignore 2022-09-02 09:44:06 +08:00
.stylelintignore wewechat++ init 2022-09-01 20:38:13 +08:00
.stylelintrc wewechat++ init 2022-09-01 20:38:13 +08:00
.travis.yml wewechat++ init 2022-09-01 20:38:13 +08:00
LICENSE wewechat++ init 2022-09-01 20:38:13 +08:00
main.js 修复保存的图片没有附加后缀 2023-05-22 23:37:32 +08:00
package.json 修改package.json 2023-04-04 09:47:23 +00:00
README.md wewechat++ init 2022-09-01 20:38:13 +08:00

原版地址: https://github.com/trazyn/weweChat

本仓库fork仓库地址 https://github.com/kangxiaoju/weweChat

站在巨人的肩膀上!!!!!

在前人的基础上,通过比对wechaty/puppet-wechat的代码修复了UOS支持具体见此PR #206

经测试

  • 消息接收发送正常
  • 文件接收发送正常
  • 其余功能均未测试······

使用注意!!! 在扫码确认后请等待一段可能长可能短的时间

主要修改为以下部分

diff --git a/src/js/stores/session.js b/src/js/stores/session.js
index f6423fa..d6e592f 100644
--- a/src/js/stores/session.js
+++ b/src/js/stores/session.js
@@ -12,8 +12,8 @@ import contacts from './contacts';
 const CancelToken = axios.CancelToken;
 const headers = {
     'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36',
-    'client-version': '1.4.0',
-    extspam: 'Gp8ICJkIEpkICggwMDAwMDAwMRAGGoAI1GiJSIpeO1RZTq9QBKsRbPJdi84ropi16EYI10WB6g74sGmRwSNXjPQnYUKYotKkvLGpshucCaeWZMOylnc6o2AgDX9grhQQx7fm2DJRTyuNhUlwmEoWhjoG3F0ySAWUsEbH3bJMsEBwoB//0qmFJob74ffdaslqL+IrSy7LJ76/G5TkvNC+J0VQkpH1u3iJJs0uUYyLDzdBIQ6Ogd8LDQ3VKnJLm4g/uDLe+G7zzzkOPzCjXL+70naaQ9medzqmh+/SmaQ6uFWLDQLcRln++wBwoEibNpG4uOJvqXy+ql50DjlNchSuqLmeadFoo9/mDT0q3G7o/80P15ostktjb7h9bfNc+nZVSnUEJXbCjTeqS5UYuxn+HTS5nZsPVxJA2O5GdKCYK4x8lTTKShRstqPfbQpplfllx2fwXcSljuYi3YipPyS3GCAqf5A7aYYwJ7AvGqUiR2SsVQ9Nbp8MGHET1GxhifC692APj6SJxZD3i1drSYZPMMsS9rKAJTGz2FEupohtpf2tgXm6c16nDk/cw+C7K7me5j5PLHv55DFCS84b06AytZPdkFZLj7FHOkcFGJXitHkX5cgww7vuf6F3p0yM/W73SoXTx6GX4G6Hg2rYx3O/9VU2Uq8lvURB4qIbD9XQpzmyiFMaytMnqxcZJcoXCtfkTJ6pI7a92JpRUvdSitg967VUDUAQnCXCM/m0snRkR9LtoXAO1FUGpwlp1EfIdCZFPKNnXMeqev0j9W9ZrkEs9ZWcUEexSj5z+dKYQBhIICviYUQHVqBTZSNy22PlUIeDeIs11j7q4t8rD8LPvzAKWVqXE+5lS1JPZkjg4y5hfX1Dod3t96clFfwsvDP6xBSe1NBcoKbkyGxYK0UvPGtKQEE0Se2zAymYDv41klYE9s+rxp8e94/H8XhrL9oGm8KWb2RmYnAE7ry9gd6e8ZuBR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acSba0k8wn5HhHg9d4tIcixrxveflc8vi2/wNQGVFNsGO6tB5WF0xf/plngOvQ1/ivGV/C1Qpdhzznh0ExAVJ6dwzNg7qIEBaw+BzTJTUuRcPk92Sn6QDn2Pu3mpONaEumacjW4w6ipPnPw+g2TfywJjeEcpSZaP4Q3YV5HG8D6UjWA4GSkBKculWpdCMadx0usMomsSS/74QgpYqcPkmamB4nVv1JxczYITIqItIKjD35IGKAUwAA==',
     referer: 'https://wx.qq.com/?&lang=zh_CN&target=t',
 };

鸣谢

@trazyn @kangxiaoju wechaty/puppet-wechat

但不保证持续有效性,且用且珍惜