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