trazyn / weweChat

💬 Unofficial WeChat client built with React, MobX and Electron.
MIT License
5.75k stars 736 forks source link

Add support for offline refresher. #228

Closed MingchenZhang closed 4 years ago

MingchenZhang commented 5 years ago

Add support for offline refresher, which is a tool making synccheck request when the wewechat is not running. modify wewechat to retain login status after webwxsync fails. Making it tolerate short network disruption.

Supporting refresher is not a feature for general use, as the remote running refresher requires wechat login credentials. User should deploy their own refresher on machines own by themself. A small rewrite of keepalive loop to get ride of tail recursion. Refresher code is hosted at: https://github.com/MingchenZhang/wewechat-refresher