自动更新测试2
这个提交包含在:
@ -2,7 +2,7 @@ const fs = require("fs");
|
||||
const cp = require("child_process");
|
||||
if(fs.existsSync("./CGI.js")){
|
||||
global.UpData = function(){
|
||||
cp.execSync("git pull Main master");
|
||||
cp.execSync("git reset --hard&git pull origin master");
|
||||
console.log(`[${new this.Date().toString()}][OnlineAI.js]获取更新完毕`);
|
||||
}
|
||||
fs.exists("./UserDataBase.json",(ex)=>{
|
||||
|
||||
在新工单中引用
屏蔽一个用户