mirror of
https://github.com/6dylan6/jdpro.git
synced 2025-07-17 18:04:13 +08:00
1
This commit is contained in:
14
jdCookie.js
14
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 {
|
||||
|
Reference in New Issue
Block a user