微信的阅读功能,需要通过微信打开阅读链接
分享一个shell命令,打开微信浏览器
var result = shell('am start -n com.tencent.mm/.plugin.webview.ui.tools.WebViewUI --es rawUrl http://h5.ujxmzgisx2b.cn/pipa_read', true);
其实hamibot的一个麻烦的地方在于打开分身应用,这里介绍一个视频,用于获取分身的ID
如果需要打开分身,则代码如下
var result = shell('am start --user 分身ID -n com.tencent.mm/.plugin.webview.ui.tools.WebViewUI --es rawUrl http://h5.ujxmzgisx2b.cn/pipa_read', true);