From 5883643fd9e2b1f69abaa50801524a3c8eb90f33 Mon Sep 17 00:00:00 2001 From: 2024 Date: Fri, 28 Feb 2025 15:01:30 +0800 Subject: [PATCH] 1 --- jdCookie.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/jdCookie.js b/jdCookie.js index 3f958b2..c11ef55 100644 --- a/jdCookie.js +++ b/jdCookie.js @@ -17,13 +17,13 @@ if (process.env.JD_COOKIE) { CookieJDs = [process.env.JD_COOKIE]; } } -if (JSON.stringify(process.env).indexOf('GITHUB') > -1) { - console.log(`请勿使用github action运行此脚本,无论你是从你自己的私库还是其他哪里拉取的源代码,都会导致我被封号\n`); - !(async () => { - await require('./sendNotify').sendNotify('提醒', `请勿使用github action、滥用github资源会封我仓库以及账号`) - await process.exit(0); - })() -} +//if (JSON.stringify(process.env).indexOf('GITHUB') > -1) { +// console.log(`请勿使用github action运行此脚本,无论你是从你自己的私库还是其他哪里拉取的源代码,都会导致我被封号\n`); +// !(async () => { +// await require('./sendNotify').sendNotify('提醒', `请勿使用github action、滥用github资源会封我仓库以及账号`) +// await process.exit(0); +// })() +//} //!(async () => { // IP = await getIP(); // try {