diff --git a/README.md b/README.md index f0e3b61..0f862ad 100644 --- a/README.md +++ b/README.md @@ -305,6 +305,10 @@ npm install ## 更新日志 +2023-01-30 + +- 切换puppet为wechat4u,减少安装时的报错 + 2022-07-15 - 升级Wechaty 到1.x,支持UOS协议 diff --git a/index.js b/index.js index 109c45d..268ebef 100644 --- a/index.js +++ b/index.js @@ -125,10 +125,7 @@ async function initDay() { const bot = WechatyBuilder.build({ name: 'WechatEveryDay', - puppet: 'wechaty-puppet-wechat', // 如果有token,记得更换对应的puppet - puppetOptions: { - uos: true - } + puppet: 'wechaty-puppet-wechat4u', // 如果有token,记得更换对应的puppet }) bot.on('scan', onScan); diff --git a/package.json b/package.json index 372c69c..29bf993 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wechatbot", - "version": "1.0.1", + "version": "1.0.2", "description": "", "superagent": "index.js", "scripts": { @@ -23,6 +23,6 @@ "qrcode-terminal": "^0.12.0", "superagent": "^4.1.0", "wechaty": "^1.20.2", - "wechaty-puppet-wechat": "^1.18.4" + "wechaty-puppet-wechat4u": "^1.13.12" } }