1
0
mirror of https://github.com/6dylan6/jdpro.git synced 2025-07-17 18:04:13 +08:00
This commit is contained in:
2024
2025-02-28 15:01:30 +08:00
parent fe7e023932
commit 5883643fd9

View File

@@ -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 {