Chavy
Chavy
阿里系的基本可以放弃
https://chavyleung.gitbook.io/boxjs/#shadowrocket
如果出现保存不成功,先打开记录日志功能:设置>诊断>启用日志记录,再尝试操作 问题重现后:设置>诊断>VPN 日志 看看有没什么报错信息
目测下架了
把日志贴一下
获取Cookie的正则有改过,确认下是不是使用最新的正则来取Cookie https://github.com/chavyleung/scripts/commit/6196d04186c380879d153d42dcba16f59c2a0cb9
ok,回头我拿ipad测试下
```js done(val = {}) { const endTime = new Date().getTime() const costTime = (endTime - this.startTime) / 1000 this.log('', `🔔${this.name}, 结束! 🕛 ${costTime} 秒`) this.log() if (this.isSurge() || this.isQuanX() ||...
```js if ($.isNode()) { process.exit(1) } ``` 你是希望这样终止整个脚本对吧?
https://github.com/chavyleung/scripts/commit/bfe1e74aaf83c985a24911901c9948bad42813e1 feat(env.js): node 环境下 $.done() 会使用 process.exit(1) 退出脚本