Skip to content

Commit fb65d13

Browse files
authored
Update china.js
1 parent 5fd0c29 commit fb65d13

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

china.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,12 @@ async function get_todo() {
464464
l = l.concat(s.trim().split("\n").map(v => JSON.parse(v)).filter(v => v.action == "PROXY").map(v => get_domain(v.content)).filter(v => v))
465465
}
466466
}
467+
if (await exists(os.homedir() + "/Library/Group Containers/FZS65P7GSQ.brook/b.log")) {
468+
var s = await fs.readFile(os.homedir() + "/Library/Group Containers/FZS65P7GSQ.brook/b.log", { encoding: 'utf8' })
469+
if (s && s.trim()) {
470+
l = l.concat(s.trim().split("\n").map(v => JSON.parse(v)).filter(v => v.action == "PROXY").map(v => get_domain(v.content)).filter(v => v))
471+
}
472+
}
467473
if (await exists(os.homedir() + "/.b.log")) {
468474
var s = await fs.readFile(os.homedir() + "/.b.log", { encoding: 'utf8' })
469475
if (s && s.trim()) {

0 commit comments

Comments
 (0)