MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / checkEnv

Function checkEnv

jlqc.js:417–433  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

415
416// 变量检查与处理
417async function checkEnv() {
418 if (userCookie) {
419 // console.log(userCookie);
420 let e = envSplitor[0];
421 for (let o of envSplitor)
422 if (userCookie.indexOf(o) > -1) {
423 e = o;
424 break;
425 }
426 for (let n of userCookie.split(e)) n && userList.push(new UserInfo(n));
427 userCount = userList.length;
428 } else {
429 console.log("未找到CK");
430 return;
431 }
432 return console.log(`共找到${userCount}个账号`), true;//true == !0
433}
434// =========================================== 不懂不要动 =========================================================
435/**
436 * 获取远程通知

Callers 1

jlqc.jsFile · 0.70

Calls 1

logMethod · 0.45

Tested by

no test coverage detected