自动更新测试2

这个提交包含在:
2020-02-20 14:56:21 +08:00
父节点 30aeaa2639
当前提交 3d3aa13d10

查看文件

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