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]; CookieJDs = [process.env.JD_COOKIE];
} }
} }
if (JSON.stringify(process.env).indexOf('GITHUB') > -1) { //if (JSON.stringify(process.env).indexOf('GITHUB') > -1) {
console.log(`请勿使用github action运行此脚本,无论你是从你自己的私库还是其他哪里拉取的源代码,都会导致我被封号\n`); // console.log(`请勿使用github action运行此脚本,无论你是从你自己的私库还是其他哪里拉取的源代码,都会导致我被封号\n`);
!(async () => { // !(async () => {
await require('./sendNotify').sendNotify('提醒', `请勿使用github action、滥用github资源会封我仓库以及账号`) // await require('./sendNotify').sendNotify('提醒', `请勿使用github action、滥用github资源会封我仓库以及账号`)
await process.exit(0); // await process.exit(0);
})() // })()
} //}
//!(async () => { //!(async () => {
// IP = await getIP(); // IP = await getIP();
// try { // try {